From 120b35d39438492597ffdc34aa642f2c446e6b07 Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Mon, 22 Jun 2015 20:17:30 +1000 Subject: [PATCH] General refactoring - revert mistake --- src/main/java/com/lishid/openinv/OpenInv.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/lishid/openinv/OpenInv.java b/src/main/java/com/lishid/openinv/OpenInv.java index 10e56a2..d67bf99 100644 --- a/src/main/java/com/lishid/openinv/OpenInv.java +++ b/src/main/java/com/lishid/openinv/OpenInv.java @@ -67,13 +67,13 @@ public class OpenInv extends JavaPlugin { mainPlugin = this; FileConfiguration config = getConfig(); config.set("CheckForUpdates", config.getBoolean("CheckForUpdates", true)); - config.set("notifySilentChest", config.getBoolean("notifySilentChest", true)); - config.set("notifyAnyChest", config.getBoolean("notifyAnyChest", true)); + config.set("NotifySilentChest", config.getBoolean("NotifySilentChest", true)); + config.set("NotifyAnyChest", config.getBoolean("NotifyAnyChest", true)); config.set("ItemOpenInvItemID", config.getInt("ItemOpenInvItemID", 280)); config.addDefault("ItemOpenInvItemID", 280); config.addDefault("CheckForUpdates", true); - config.addDefault("notifySilentChest", true); - config.addDefault("notifyAnyChest", true); + config.addDefault("NotifySilentChest", true); + config.addDefault("NotifyAnyChest", true); config.options().copyDefaults(true); saveConfig(); @@ -90,11 +90,11 @@ public class OpenInv extends JavaPlugin { } public static boolean notifySilentChest() { - return mainPlugin.getConfig().getBoolean("notifySilentChest", true); + return mainPlugin.getConfig().getBoolean("NotifySilentChest", true); } public static boolean notifyAnyChest() { - return mainPlugin.getConfig().getBoolean("notifyAnyChest", true); + return mainPlugin.getConfig().getBoolean("NotifyAnyChest", true); } public static boolean getPlayerItemOpenInvStatus(String name) {