diff --git a/pom.xml b/pom.xml index a61a0a790..21c090178 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ me.blackvein.quests quests - 2.6.6 + 2.6.7 quests https://github.com/FlyingPikachu/Quests/ jar diff --git a/src/main/java/me/blackvein/quests/Quester.java b/src/main/java/me/blackvein/quests/Quester.java index 467488cbc..cae7378b7 100644 --- a/src/main/java/me/blackvein/quests/Quester.java +++ b/src/main/java/me/blackvein/quests/Quester.java @@ -1207,7 +1207,7 @@ public class Quester { public void reachLocation(Quest quest, Location l) { for (Location location : getQuestData(quest).locationsReached) { - //debug try/catch for #352 + //TODO debug try/catch for #352 try { int index = getQuestData(quest).locationsReached.indexOf(location); Location locationToReach = getCurrentStage(quest).locationsToReach.get(index); diff --git a/src/main/java/me/blackvein/quests/Quests.java b/src/main/java/me/blackvein/quests/Quests.java index 12bfdc04d..4d2f168ff 100644 --- a/src/main/java/me/blackvein/quests/Quests.java +++ b/src/main/java/me/blackvein/quests/Quests.java @@ -526,7 +526,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener, } public void loadConfig() { - + FileConfiguration config = getConfig(); Lang.lang = config.getString("language", "en"); @@ -2658,9 +2658,14 @@ try{ quests.clear(); events.clear(); + questerBlacklist.clear(); loadQuests(); loadData(); loadEvents(); + + //Reload config from disc in-case a setting was changed + reloadConfig(); + loadConfig(); Lang.clearPhrases();