removed isClientPlayer from MailAddress

This commit is contained in:
mezz committed 2014-09-28 21:54:30 -07:00
1 parent f02426b219
commit a8583bfbfd
3 files changed
+4 -12

No files matched your search

@@ -143,16 +143,6 @@ public class MailAddress implements INBTTagable, IMailAddress {
return address;
}
public boolean isClientPlayer(World world) {
if (!this.isPlayer())
return false;
EntityPlayer addressPlayer = Proxies.common.getPlayer(world, gameProfile);
EntityPlayer clientPlayer = Proxies.common.getPlayer();
return addressPlayer != null && clientPlayer != null && clientPlayer.equals(addressPlayer);
}
public GameProfile getPlayerProfile() {
if (!this.isPlayer())
return null;