There is no need to delete collections, at least not manually.
This commit is contained in:
@@ -107,7 +107,6 @@ public class CollectionsManager {
|
||||
mutableCardCollection.addItem(item.getKey(), item.getValue());
|
||||
|
||||
_collectionDAO.setCollectionForPlayer(player.getId(), collectionTo, mutableCardCollection);
|
||||
_collectionDAO.deletePlayerCollection(player.getId(), collectionFrom);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
||||
@@ -27,9 +27,6 @@ public class CollectionDAO {
|
||||
_collections.clear();
|
||||
}
|
||||
|
||||
public void deletePlayerCollection(int playerId, String type) {
|
||||
}
|
||||
|
||||
public CardCollection getCollectionForPlayer(int playerId, String type) {
|
||||
Map<String, CardCollection> playerCollections = _collections.get(playerId);
|
||||
if (playerCollections != null) {
|
||||
|
||||
Reference in New Issue
Block a user