mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-26 04:36:06 +01:00
Stop reverting config edits during /questadmin reload, fixes #364. Bump
version number
This commit is contained in:
parent
7ec954e652
commit
b4533024b3
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<groupId>me.blackvein.quests</groupId>
|
<groupId>me.blackvein.quests</groupId>
|
||||||
<artifactId>quests</artifactId>
|
<artifactId>quests</artifactId>
|
||||||
<version>2.6.6</version>
|
<version>2.6.7</version>
|
||||||
<name>quests</name>
|
<name>quests</name>
|
||||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
@ -1207,7 +1207,7 @@ public class Quester {
|
|||||||
public void reachLocation(Quest quest, Location l) {
|
public void reachLocation(Quest quest, Location l) {
|
||||||
|
|
||||||
for (Location location : getQuestData(quest).locationsReached) {
|
for (Location location : getQuestData(quest).locationsReached) {
|
||||||
//debug try/catch for #352
|
//TODO debug try/catch for #352
|
||||||
try {
|
try {
|
||||||
int index = getQuestData(quest).locationsReached.indexOf(location);
|
int index = getQuestData(quest).locationsReached.indexOf(location);
|
||||||
Location locationToReach = getCurrentStage(quest).locationsToReach.get(index);
|
Location locationToReach = getCurrentStage(quest).locationsToReach.get(index);
|
||||||
|
@ -2658,9 +2658,14 @@ try{
|
|||||||
|
|
||||||
quests.clear();
|
quests.clear();
|
||||||
events.clear();
|
events.clear();
|
||||||
|
questerBlacklist.clear();
|
||||||
loadQuests();
|
loadQuests();
|
||||||
loadData();
|
loadData();
|
||||||
loadEvents();
|
loadEvents();
|
||||||
|
|
||||||
|
//Reload config from disc in-case a setting was changed
|
||||||
|
reloadConfig();
|
||||||
|
|
||||||
loadConfig();
|
loadConfig();
|
||||||
|
|
||||||
Lang.clearPhrases();
|
Lang.clearPhrases();
|
||||||
|
Loading…
Reference in New Issue
Block a user