mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-25 02:28:12 +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)));
|
||||
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));
|
||||
if (context.getSessionData(CK.E_MESSAGE) != null) {
|
||||
section.set("message", getCString(context, CK.E_MESSAGE));
|
||||
|
Loading…
Reference in New Issue
Block a user