mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 03:38:28 +00:00
lol
This commit is contained in:
parent
5e8d42c854
commit
535f3a131b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class Commandwhois extends EssentialsCommand {
|
|||
if (!ess.getSettings().isEcoDisabled()) {
|
||||
sender.sendMessage(tl("whoisMoney", NumberUtil.displayCurrency(user.getMoney(), ess)));
|
||||
}
|
||||
if (!sender.isPlayer() || getTFMHandler().isAdmin(user)) {
|
||||
if (!sender.isPlayer() || getTFMHandler().isAdmin(sender.getPlayer())) {
|
||||
sender.sendMessage(tl("whoisIPAddress", user.getBase().getAddress().getAddress().toString()));
|
||||
}
|
||||
final String location = user.getGeoLocation();
|
||||
|
|
Loading…
Reference in a new issue