From 15b24b0a0006d0ba2c5184b38b8010e8457f8365 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 11 Mar 2015 22:16:57 +1100 Subject: [PATCH] Fixed default key --- .../java/com/intellectualcrafters/plot/object/PlotWorld.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java index 2dd16a0e2..9af2659b9 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java @@ -126,7 +126,9 @@ public abstract class PlotWorld { ConfigurationSection section = config.getConfigurationSection("flags"); Set keys = section.getKeys(false); for (String key : keys) { - flags.add(key + ";" + section.get(key)); + if (!key.equals("default")) { + flags.add(key + ";" + section.get(key)); + } } } }