We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92552d commit 5a695faCopy full SHA for 5a695fa
src/main/java/net/onelitefeather/bettergopaint/listeners/InteractListener.java
@@ -85,7 +85,9 @@ public void onClick(PlayerInteractEvent event) {
85
return;
86
}
87
88
- if (!player.hasPermission(BetterGoPaint.WORLD_BYPASS_PERMISSION) && Settings.settings().GENERIC.DISABLED_WORLDS
+ final boolean hasNotWorldBaypassPermission = !player.hasPermission(BetterGoPaint.WORLD_BYPASS_PERMISSION);
89
+
90
+ if (hasNotWorldBaypassPermission && Settings.settings().GENERIC.DISABLED_WORLDS
91
.contains(location.getWorld().getName())) {
92
93
0 commit comments