mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 20:52:14 +00:00
Fixed usage of EntityPlayer.getDisplayName() & EntityPlayer.getGameProfile().getName()
Fix for #77
This commit is contained in:
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user