mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-24 18:18:20 +01:00
Correct swap of money and Quest Point when saving rewards, fixes #1152
This commit is contained in:
parent
aa6afae89f
commit
080006beb2
@ -1791,10 +1791,10 @@ public class QuestFactory implements ConversationAbandonedListener {
|
||||
ConfigurationSection rews = section.createSection("rewards");
|
||||
rews.set("items", context.getSessionData(CK.REW_ITEMS) != null
|
||||
? (List<ItemStack>) context.getSessionData(CK.REW_ITEMS) : null);
|
||||
rews.set("money", context.getSessionData(CK.REW_QUEST_POINTS) != null
|
||||
? (Integer) context.getSessionData(CK.REW_QUEST_POINTS) : null);
|
||||
rews.set("quest-points", context.getSessionData(CK.REW_MONEY) != null
|
||||
rews.set("money", context.getSessionData(CK.REW_MONEY) != null
|
||||
? (Integer) context.getSessionData(CK.REW_MONEY) : null);
|
||||
rews.set("quest-points", context.getSessionData(CK.REW_QUEST_POINTS) != null
|
||||
? (Integer) context.getSessionData(CK.REW_QUEST_POINTS) : null);
|
||||
rews.set("exp", context.getSessionData(CK.REW_EXP) != null
|
||||
? (Integer) context.getSessionData(CK.REW_EXP) : null);
|
||||
rews.set("commands", context.getSessionData(CK.REW_COMMAND) != null
|
||||
|
Loading…
Reference in New Issue
Block a user