mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-25 00:25:28 +02:00
Finished changes to Whois -> Inspect
This commit is contained in:
@@ -30,7 +30,7 @@ public class InspectCommand implements CommandExecutor {
|
||||
player = (Player) sender;
|
||||
}
|
||||
|
||||
if (player != null && !mcPermissions.getInstance().whois(player)) {
|
||||
if (player != null && !mcPermissions.getInstance().inspect(player)) {
|
||||
sender.sendMessage(ChatColor.YELLOW + "[mcMMO] " + ChatColor.DARK_RED + mcLocale.getString("mcPlayerListener.NoPermission"));
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user