From 4c6e707fcf3d6343d835e882ed9dc4cfb7e6e8be Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 19 Nov 2021 10:42:33 +0100 Subject: [PATCH] fix: Error when setting PS v4's config option (#1427) Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1372 --- .../bukkit/regions/plotsquaredv4/PlotSquaredFeature.java | 2 +- .../com/fastasyncworldedit/core/configuration/Settings.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/plotsquaredv4/PlotSquaredFeature.java b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/plotsquaredv4/PlotSquaredFeature.java index ed0e5a33f..5a2b5484f 100644 --- a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/plotsquaredv4/PlotSquaredFeature.java +++ b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/plotsquaredv4/PlotSquaredFeature.java @@ -40,7 +40,7 @@ public class PlotSquaredFeature extends FaweMaskManager { public PlotSquaredFeature() { super("PlotSquared"); LOGGER.info("Optimizing PlotSquared"); - if (com.fastasyncworldedit.core.configuration.Settings.IMP.ENABLED_COMPONENTS.PLOTSQUARED_v4_HOOK) { + if (com.fastasyncworldedit.core.configuration.Settings.IMP.ENABLED_COMPONENTS.PLOTSQUARED_V4_HOOK) { Settings.Enabled_Components.WORLDEDIT_RESTRICTIONS = false; try { setupBlockQueue(); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java index 31ea71ead..19b574108 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/configuration/Settings.java @@ -88,7 +88,7 @@ public class Settings extends Config { "Specific aspects can be turned on and off further below", "Only disables/enables the hook with v4. For v6, see PlotSquared settings.yml" }) - public boolean PLOTSQUARED_v4_HOOK = true; + public boolean PLOTSQUARED_V4_HOOK = true; @Comment({"Show additional information in console. It helps us at IntellectualSites to find out more about an issue.", "Leave it off if you don't need it, it can spam your console."}) public boolean DEBUG = false;