From c66867f6654d904632ef705bff5201e7ba36d1de Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 21 Dec 2023 13:16:23 +0000 Subject: [PATCH] Fix code style --- .../java/com/plotsquared/core/util/EventDispatcher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/util/EventDispatcher.java b/Core/src/main/java/com/plotsquared/core/util/EventDispatcher.java index 873a44e5ff..fd6d62a8ff 100644 --- a/Core/src/main/java/com/plotsquared/core/util/EventDispatcher.java +++ b/Core/src/main/java/com/plotsquared/core/util/EventDispatcher.java @@ -427,7 +427,7 @@ public boolean checkPlayerBlockEvent( return true; } } - return player.hasPermission(Permission.PERMISSION_ADMIN_INTERACT_OTHER,false); + return player.hasPermission(Permission.PERMISSION_ADMIN_INTERACT_OTHE, false); } case SPAWN_MOB -> { if (plot == null) { @@ -446,7 +446,7 @@ public boolean checkPlayerBlockEvent( return true; } } - if (player.hasPermission(Permission.PERMISSION_ADMIN_INTERACT_OTHER,false)) { + if (player.hasPermission(Permission.PERMISSION_ADMIN_INTERACT_OTHER, false)) { return true; } if (notifyPerms) { @@ -481,7 +481,7 @@ public boolean checkPlayerBlockEvent( return true; } } - if (player.hasPermission(Permission.PERMISSION_ADMIN_INTERACT_OTHER,false)) { + if (player.hasPermission(Permission.PERMISSION_ADMIN_INTERACT_OTHER, false)) { return true; } if (notifyPerms) {