diff --git a/src/me/blackvein/quests/Quests.java b/src/me/blackvein/quests/Quests.java index 0fafe916a..2b918b674 100644 --- a/src/me/blackvein/quests/Quests.java +++ b/src/me/blackvein/quests/Quests.java @@ -1827,7 +1827,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{ if (config.contains("quests." + s + ".stages.ordered." + s2 + ".enchantments")) { - if (Quests.checkList(config.getList("quests." + s + ".stages.ordered" + s2 + ".enchantments"), String.class)) { + if (Quests.checkList(config.getList("quests." + s + ".stages.ordered." + s2 + ".enchantments"), String.class)) { for (String enchant : config.getStringList("quests." + s + ".stages.ordered." + s2 + ".enchantments")) { @@ -2144,7 +2144,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{ if (Quests.checkList(config.getList("quests." + s + ".stages.ordered." + s2 + ".mob-amounts"), Integer.class)) { - for (int i : config.getIntegerList("quests." + s + ".stages.ordered." + s2 + ".enchantment-amounts")) { + for (int i : config.getIntegerList("quests." + s + ".stages.ordered." + s2 + ".mob-amounts")) { mobNumToKill.add(i); @@ -2237,7 +2237,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{ break; } - if (config.contains("quests." + s + ".stages.ordered" + s2 + ".kill-location-names")) { + if (config.contains("quests." + s + ".stages.ordered." + s2 + ".kill-location-names")) { if (Quests.checkList(config.getList("quests." + s + ".stages.ordered." + s2 + ".kill-location-names"), String.class)) { @@ -3489,9 +3489,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{ } } - + public static String getCurrency(boolean plural){ - + if(plural){ if(Quests.economy.currencyNamePlural().trim().isEmpty()) return "Money"; @@ -3503,7 +3503,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{ else return Quests.economy.currencyNameSingular(); } - + } public static boolean removeItem(Inventory inventory, Material type, int amount) { diff --git a/src/plugin.yml b/src/plugin.yml index b60496e13..146d4d3bc 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: Quests main: me.blackvein.quests.Quests -version: 1.5.0 +version: 1.5.1c description: Player questing system website: http://dev.bukkit.org/server-mods/quests/ dev-url: http://dev.bukkit.org/server-mods/quests/