Fix wrong message for console not allowed

This commit is contained in:
libraryaddict 2022-03-28 07:31:35 +13:00
parent 1bd07cc848
commit 56eaa1c8c4
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class LDDebugPlayer implements LDCommand {
@Override
public void onCommand(CommandSender sender, String[] args) {
if (!(sender instanceof Player)) {
LibsMsg.NO_PERM.send(sender);
LibsMsg.NO_CONSOLE.send(sender);
}
LibsDisguises.getInstance().getListener().addInteraction(sender.getName(), new DebugInteraction(), 60);