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

This commit is contained in:
Nathan Wolf 2015-11-10 15:56:38 -08:00
parent dc32f197ee
commit a31f0ab8fa

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