1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-02 02:42:33 +02:00

Make console detection more resilient against spoofed UUIDs

This commit is contained in:
Luck
2021-03-13 14:25:33 +00:00
parent 53bb61f9b2
commit e3138eb94c
12 changed files with 55 additions and 11 deletions

View File

@@ -81,6 +81,11 @@ public class BungeeSenderFactory extends SenderFactory<LPBungeePlugin, CommandSe
getPlugin().getBootstrap().getProxy().getPluginManager().dispatchCommand(sender, command);
}
@Override
protected boolean isConsole(CommandSender sender) {
return !(sender instanceof ProxiedPlayer);
}
@Override
public void close() {
super.close();