chat message manager: fix update to not access varbits outside of client thread

This commit is contained in:
Hydrox6
2018-11-05 13:48:33 +00:00
committed by Adam
parent 3f50f01e39
commit cb50babff0

View File

@@ -574,7 +574,7 @@ public class ChatMessageManager
return;
}
final boolean transparent = client.isResized() && client.getVar(Varbits.TRANSPARENT_CHATBOX) != 0;
final boolean transparent = client.isResized() && transparencyVarbit != 0;
final Collection<ChatColor> chatColors = colorCache.get(target.getType());
// If we do not have any colors cached, simply set clean message