diff --git a/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java b/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java index e8b53b2c5..ed7d4ee11 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java @@ -14,6 +14,8 @@ public class Settings extends Config { @Ignore public boolean PROTOCOL_SUPPORT_FIX = false; + @Ignore + public boolean PLOTSQUARED_HOOK = false; @Comment("These first 6 aren't configurable") // This is a comment @Final // Indicates that this value isn't configurable diff --git a/worldedit-core/src/main/java/com/boydti/fawe/regions/general/integrations/plotquared/PlotSquaredFeature.java b/worldedit-core/src/main/java/com/boydti/fawe/regions/general/integrations/plotquared/PlotSquaredFeature.java index 723cb102b..cf405971a 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/regions/general/integrations/plotquared/PlotSquaredFeature.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/regions/general/integrations/plotquared/PlotSquaredFeature.java @@ -38,14 +38,16 @@ public class PlotSquaredFeature extends FaweMaskManager { public PlotSquaredFeature() { super("PlotSquared"); Fawe.debug("Optimizing PlotSquared"); - setupBlockQueue(); - setupSchematicHandler(); - setupChunkManager(); - if (Settings.PLATFORM.equalsIgnoreCase("bukkit")) { - new FaweTrim(); + if (com.boydti.fawe.config.Settings.IMP.PLOTSQUARED_HOOK) { + setupBlockQueue(); + setupSchematicHandler(); + setupChunkManager(); + if (Settings.PLATFORM.equalsIgnoreCase("bukkit")) { + new FaweTrim(); + } + if (MainCommand.getInstance().getCommand("generatebiome") == null) { + new PlotSetBiome(); } - if (MainCommand.getInstance().getCommand("generatebiome") == null) { - new PlotSetBiome(); } // TODO: revisit this later on /*