From 7ce30ee95519169cea1e835c72f08b6d3d56c725 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 19 Oct 2014 17:19:01 +1100 Subject: [PATCH] more fixes --- .../intellectualcrafters/plot/PlotWorld.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/PlotSquared/src/com/intellectualcrafters/plot/PlotWorld.java b/PlotSquared/src/com/intellectualcrafters/plot/PlotWorld.java index 76b196818..4cb57e8ec 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/PlotWorld.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/PlotWorld.java @@ -112,11 +112,11 @@ public abstract class PlotWorld { this.SELL_PRICE = config.getDouble("economy.prices.sell"); this.PLOT_CHAT = config.getBoolean("chat.enabled"); this.DEFAULT_FLAGS = config.getStringList("flags.default"); - this.PVP = config.getBoolean("events.pvp"); - this.PVE = config.getBoolean("events.pve"); - this.SPAWN_EGGS = config.getBoolean("events.spawn.egg"); - this.SPAWN_CUSTOM = config.getBoolean("events.spawn.custom"); - this.SPAWN_BREEDING = config.getBoolean("events.spawn.breeding"); + this.PVP = config.getBoolean("event.pvp"); + this.PVE = config.getBoolean("event.pve"); + this.SPAWN_EGGS = config.getBoolean("event.spawn.egg"); + this.SPAWN_CUSTOM = config.getBoolean("event.spawn.custom"); + this.SPAWN_BREEDING = config.getBoolean("event.spawn.breeding"); loadConfiguration(config); } @@ -143,11 +143,11 @@ public abstract class PlotWorld { options.put("economy.prices.sell", PlotWorld.SELL_PRICE_DEFAULT); options.put("chat.enabled", PlotWorld.PLOT_CHAT_DEFAULT); options.put("flags.default", PlotWorld.DEFAULT_FLAGS_DEFAULT); - options.put("events.pvp", PlotWorld.PVP_DEFAULT); - options.put("events.pve", PlotWorld.PVE_DEFAULT); - options.put("events.spawn.egg", PlotWorld.SPAWN_EGGS_DEFAULT); + options.put("event.pvp", PlotWorld.PVP_DEFAULT); + options.put("event.pve", PlotWorld.PVE_DEFAULT); + options.put("event.spawn.egg", PlotWorld.SPAWN_EGGS_DEFAULT); options.put("event.spawn.custom", PlotWorld.SPAWN_CUSTOM_DEFAULT); - options.put("events.spawn.breeding", PlotWorld.SPAWN_BREEDING_DEFAULT); + options.put("event.spawn.breeding", PlotWorld.SPAWN_BREEDING_DEFAULT); ConfigurationNode[] settings = getSettingNodes(); /*