Now hackrank changes entity nametag and tab list colour. Fixes #440.

This commit is contained in:
UnknownShadow200 2017-07-10 10:08:37 +10:00
parent 5c36ea3aaa
commit d1626f7100

View File

@ -50,6 +50,11 @@ namespace MCGalaxy.Commands.Misc {
Player.Message(p, "You are now ranked " + newRank.ColoredName + "%S, type /help for your new set of commands.");
p.color = newRank.Color;
Entities.GlobalDespawn(p, true);
Entities.GlobalSpawn(p, true);
p.SetPrefix();
DoKick(p, newRank);
}