From a694cabb2ed43ca5ea65d829bf8af5e3b870994f Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 27 Mar 2017 09:09:39 +1100 Subject: [PATCH] Send message on outdated P2 --- .../fawe/regions/general/plot/PlotSquaredFeature.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java b/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java index 090b1492..7ddef1c7 100644 --- a/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java +++ b/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java @@ -33,10 +33,14 @@ public class PlotSquaredFeature extends FaweMaskManager { } if (MainCommand.getInstance().getCommand("generatebiome") == null) { new PlotSetBiome(); - new CreateFromImage(); } - if (Settings.Enabled_Components.WORLDS) { - new ReplaceAll(); + try { + if (Settings.Enabled_Components.WORLDS) { + new CreateFromImage(); + new ReplaceAll(); + } + } catch (Throwable e) { + Fawe.debug("You need to update PlotSquared to access the CFI and REPLACEALL commands"); } }