summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-04-13 01:01:49 +0100
committerKHobbits <rob@khobbits.co.uk>2014-04-13 01:01:49 +0100
commit517853fb73b2fb21d08c03a3b8d99cc98ff5abc7 (patch)
tree7913570f9c78d1e74d6ad224978df835d6f51404 /Essentials/src/com/earth2me/essentials/commands/Commandseen.java
parentfec02fee517956f124f9e3224bc7cab844ccc51c (diff)
downloadEssentials-517853fb73b2fb21d08c03a3b8d99cc98ff5abc7.tar
Essentials-517853fb73b2fb21d08c03a3b8d99cc98ff5abc7.tar.gz
Essentials-517853fb73b2fb21d08c03a3b8d99cc98ff5abc7.tar.lz
Essentials-517853fb73b2fb21d08c03a3b8d99cc98ff5abc7.tar.xz
Essentials-517853fb73b2fb21d08c03a3b8d99cc98ff5abc7.zip
Converted emulated player class calls to use base class.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandseen.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandseen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
index 146a74fa3..38453efc5 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java
@@ -94,7 +94,7 @@ public class Commandseen extends EssentialsCommand
}
if (extra)
{
- sender.sendMessage(tl("whoisIPAddress", user.getAddress().getAddress().toString()));
+ sender.sendMessage(tl("whoisIPAddress", user.getBase().getAddress().getAddress().toString()));
}
}
@@ -109,7 +109,7 @@ public class Commandseen extends EssentialsCommand
{
sender.sendMessage(tl("userUnknown", user.getName()));
}
- if (user.isBanned())
+ if (user.getBase().isBanned())
{
sender.sendMessage(tl("whoisBanned", showBan ? user.getBanReason() : tl("true")));
}