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

View File

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