Fix RCON permission checking for LP commands on Bukkit (#2948)

This commit is contained in:
Luck 2021-03-19 20:03:21 +00:00
parent 1c7e2dfb8c
commit 1df66255e4
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -96,7 +96,7 @@ public class BukkitSenderFactory extends SenderFactory<LPBukkitPlugin, CommandSe
@Override
protected boolean isConsole(CommandSender sender) {
return sender instanceof ConsoleCommandSender;
return sender instanceof ConsoleCommandSender || sender instanceof RemoteConsoleCommandSender;
}
@Override