fixing hashmap screwery

This commit is contained in:
Christian 'ketura' McCarty
2022-11-03 01:02:38 -05:00
parent e2d2d1ba8f
commit 6a0d39bf4f

View File

@@ -234,7 +234,7 @@ public class DbCollectionDAO implements CollectionDAO {
public void convertCollection(int playerId, String type) throws SQLException, IOException {
MutableCardCollection oldCollection = getOldPlayerCollection(playerId, type);
var oldinfo = oldCollection.getExtraInformation();
var oldinfo = new HashMap<String, Object>(oldCollection.getExtraInformation());
oldinfo.put(DefaultCardCollection.CurrencyKey, oldCollection.getCurrency());
oldCollection.setExtraInformation(oldinfo);
overwriteCollectionContents(playerId, type, oldCollection, "Initial Convert");