mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 04:32:28 +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
@@ -340,7 +340,7 @@ public class PacketManager
|
||||
PacketManager.validateAndSend(new NetDataValue(Message.STATUS_ACCESS_LEVEL, new SerialInt(PlayerTracker.INSTANCE.getPlayerAccessLevel(player).ordinal())), player);
|
||||
|
||||
// This portion is to get the proper filtered amounts depending on the player preferences.
|
||||
String name = player.getDisplayName();
|
||||
String name = player.getGameProfile().getName();
|
||||
boolean filtered = false;
|
||||
if (PlayerTracker.INSTANCE.filteredAmount.containsKey(name))
|
||||
filtered = PlayerTracker.INSTANCE.filteredAmount.get(name);
|
||||
|
||||
Reference in new issue
Block a user