From 632d63a640e4d3bd76433bc7b7074f8ecc04a45d Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sat, 14 Feb 2015 15:20:26 +1100 Subject: [PATCH] fixed external flags --- .../java/com/intellectualcrafters/plot/flag/FlagManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagManager.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagManager.java index 286833ed4..7c54c5bc5 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagManager.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagManager.java @@ -68,7 +68,7 @@ import com.intellectualcrafters.plot.object.PlotWorld; if (PlotMain.getAllPlotsRaw() != null) { for (Plot plot : PlotMain.getPlots()) { for (Flag flag : plot.settings.flags) { - if (flag.getAbstractFlag().getKey().equals(af)) { + if (flag.getAbstractFlag().getKey().equals(af.getKey())) { flag.setKey(af); } }