mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 20:43:11 +00:00
Converted emulated player class calls to use base class.
This commit is contained in:
parent
e007331581
commit
36e580474f
61 changed files with 214 additions and 214 deletions
|
@ -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")));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue