mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-28 05:35:33 +01:00
Correct section name when saving actions, fixes #818
This commit is contained in:
parent
0dcff29e31
commit
e919554e59
@ -911,7 +911,7 @@ public class ActionFactory implements ConversationAbandonedListener {
|
|||||||
temp.remove(plugin.getAction((String) context.getSessionData(CK.E_OLD_EVENT)));
|
temp.remove(plugin.getAction((String) context.getSessionData(CK.E_OLD_EVENT)));
|
||||||
plugin.setEvents(temp);
|
plugin.setEvents(temp);
|
||||||
}
|
}
|
||||||
ConfigurationSection section = data.createSection("events." + (String) context.getSessionData(CK.E_NAME));
|
ConfigurationSection section = data.createSection("actions." + (String) context.getSessionData(CK.E_NAME));
|
||||||
names.remove((String) context.getSessionData(CK.E_NAME));
|
names.remove((String) context.getSessionData(CK.E_NAME));
|
||||||
if (context.getSessionData(CK.E_MESSAGE) != null) {
|
if (context.getSessionData(CK.E_MESSAGE) != null) {
|
||||||
section.set("message", getCString(context, CK.E_MESSAGE));
|
section.set("message", getCString(context, CK.E_MESSAGE));
|
||||||
|
Loading…
Reference in New Issue
Block a user