From d3b7fa2d1575051df46a6da37d7e99e756c54bab Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Tue, 9 Feb 2021 10:52:27 +0100 Subject: [PATCH] Improve nametag hiding --- main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.lua b/main.lua index 9fbfcaa..083fc9a 100644 --- a/main.lua +++ b/main.lua @@ -51,8 +51,8 @@ function make_nametag_invisible(player) local color = player:get_nametag_attributes().color color.a = 0 player:set_nametag_attributes{ - -- Empty nametag in order to counter poorly made hacked clients - text = "", + -- Null nametag in order to counter poorly made hacked clients (isn't empty, but won't be rendered) + text = "\0", color = color } end