mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-24 03:25:20 +01:00
Fix custom rewards (much thanks to @wintermaples !!)
This commit is contained in:
parent
dc32f197ee
commit
a31f0ab8fa
@ -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