Unstable commit

This commit is contained in:
Blackvein 2012-10-16 07:21:39 -07:00
parent 5edec55ff9
commit dee580c505
2 changed files with 7 additions and 7 deletions

View File

@ -1827,7 +1827,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{
if (config.contains("quests." + s + ".stages.ordered." + s2 + ".enchantments")) { 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")) { 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)) { 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); mobNumToKill.add(i);
@ -2237,7 +2237,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener{
break; 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)) { if (Quests.checkList(config.getList("quests." + s + ".stages.ordered." + s2 + ".kill-location-names"), String.class)) {

View File

@ -1,6 +1,6 @@
name: Quests name: Quests
main: me.blackvein.quests.Quests main: me.blackvein.quests.Quests
version: 1.5.0 version: 1.5.1c
description: Player questing system description: Player questing system
website: http://dev.bukkit.org/server-mods/quests/ website: http://dev.bukkit.org/server-mods/quests/
dev-url: http://dev.bukkit.org/server-mods/quests/ dev-url: http://dev.bukkit.org/server-mods/quests/