Fix custom rewards (much thanks to @wintermaples !!)

This commit is contained in:
Nathan Wolf 2015-11-10 15:56:38 -08:00
parent 663c844ccf
commit 013172939b

View File

@ -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()));
}
//