mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +01:00
No longer assume quests.yml contains custom1 quest, fixes #369. Bump
version number
This commit is contained in:
parent
b4533024b3
commit
48ba30a616
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
|
||||
<groupId>me.blackvein.quests</groupId>
|
||||
<artifactId>quests</artifactId>
|
||||
<version>2.6.7</version>
|
||||
<version>2.6.8</version>
|
||||
<name>quests</name>
|
||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -1103,21 +1103,20 @@ public class QuestFactory implements ConversationAbandonedListener, ColorUtil {
|
||||
}
|
||||
|
||||
if (edit != null) {
|
||||
|
||||
ConfigurationSection questList = cs.getParent();
|
||||
|
||||
for (String key : questList.getKeys(false)) {
|
||||
|
||||
String name = questList.getString(key + ".name");
|
||||
if (name.equalsIgnoreCase(edit)) {
|
||||
|
||||
if (name != null) {
|
||||
if (name.equalsIgnoreCase(edit)) {
|
||||
|
||||
questList.set(key, null);
|
||||
break;
|
||||
|
||||
}
|
||||
questList.set(key, null);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
String name = (String) cc.getSessionData(CK.Q_NAME);
|
||||
|
Loading…
Reference in New Issue
Block a user