diff --git a/Core/src/main/java/com/plotsquared/core/command/Deny.java b/Core/src/main/java/com/plotsquared/core/command/Deny.java index e1b2536f1..858b3bf78 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Deny.java +++ b/Core/src/main/java/com/plotsquared/core/command/Deny.java @@ -95,7 +95,7 @@ public class Deny extends SubCommand { } plot.addDenied(uuidMapping.getUuid()); PlotSquared.get().getEventDispatcher().callDenied(player, plot, uuidMapping.getUuid(), true); - if (!uuidMapping.equals(DBFunc.EVERYONE)) { + if (!uuidMapping.getUuid().equals(DBFunc.EVERYONE)) { handleKick(PlotSquared.imp().getPlayerManager().getPlayerIfExists(uuidMapping.getUuid()), plot); } else { for (PlotPlayer plotPlayer : plot.getPlayersInPlot()) {