Fixed usage of EntityPlayer.getDisplayName() & EntityPlayer.getGameProfile().getName()

Fix for #77
This commit is contained in:
ProfMobius committed 2014-09-30 23:53:48 +02:00
1 parent 7da3252e5e
commit b39f305687
16 files changed
+17 -17

No files matched your search

@@ -227,7 +227,7 @@ public enum EntityManager {
if (ent instanceof EntityPlayerMP && filtered)
return "Player";
else if (ent instanceof EntityPlayerMP && !filtered)
return "[ Player ] " + ((EntityPlayerMP)ent).getDisplayName();
return "[ Player ] " + ((EntityPlayerMP)ent).getGameProfile().getName();
String name = ent.getCommandSenderName();