Weird bug with wand on a server, need to fix sort operator selection
This commit is contained in:
@@ -138,7 +138,7 @@ public class SentinelCommand implements CustomCommand {
|
||||
|
||||
/* =======================
|
||||
Subcommand: CONFIG
|
||||
======================= */
|
||||
======================= */
|
||||
private void handleConfig(CommandSender sender) {
|
||||
Player p = getPlayer(sender);
|
||||
if (p == null) return;
|
||||
|
||||
@@ -33,7 +33,7 @@ public class PluginCloakingEvents implements CustomListener {
|
||||
}
|
||||
|
||||
for (String alias : Sentinel.getInstance().getDirector().io.advConfig.commandsWithPluginAccess) {
|
||||
if (!message.startsWith(alias)) continue;
|
||||
if (!message.equals(alias)) continue;
|
||||
e.setCancelled(true);
|
||||
p.sendMessage(Text.color(Sentinel.getInstance().getDirector().io.lang.permissions.noPlugins));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user