mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-03 15:08:10 +01:00
Fix custom rewards (much thanks to @wintermaples !!)
This commit is contained in:
parent
663c844ccf
commit
013172939b
@ -1884,7 +1884,8 @@ public class QuestFactory implements ConversationAbandonedListener, ColorUtil {
|
||||
}
|
||||
|
||||
if (q.customRewards.isEmpty() == false) {
|
||||
cc.setSessionData(CK.REW_CUSTOM, q.customRewards);
|
||||
cc.setSessionData(CK.REW_CUSTOM, new LinkedList<String>(q.customRewards.keySet()));
|
||||
cc.setSessionData(CK.REW_CUSTOM_DATA, new LinkedList<Object>(q.customRewards.values()));
|
||||
}
|
||||
//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user