From 20a3f6a2c69461ee3e8ce1859a8cecd7572ee1a0 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 3 Sep 2017 08:21:48 +0200 Subject: [PATCH] xmage 1.4.26V3 --- Mage.Common/src/main/java/mage/utils/MageVersion.java | 2 +- Mage/src/main/java/mage/MageObjectImpl.java | 3 ++- Mage/src/main/java/mage/cards/repository/CardRepository.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Mage.Common/src/main/java/mage/utils/MageVersion.java b/Mage.Common/src/main/java/mage/utils/MageVersion.java index 5d12136081..0b45f8ca40 100644 --- a/Mage.Common/src/main/java/mage/utils/MageVersion.java +++ b/Mage.Common/src/main/java/mage/utils/MageVersion.java @@ -41,7 +41,7 @@ public class MageVersion implements Serializable, Comparable { public final static int MAGE_VERSION_MAJOR = 1; public final static int MAGE_VERSION_MINOR = 4; public final static int MAGE_VERSION_PATCH = 26; - public final static String MAGE_VERSION_MINOR_PATCH = "V2"; + public final static String MAGE_VERSION_MINOR_PATCH = "V3"; public final static String MAGE_VERSION_INFO = ""; private final int major; diff --git a/Mage/src/main/java/mage/MageObjectImpl.java b/Mage/src/main/java/mage/MageObjectImpl.java index b7b897cb4f..30c93e6fb0 100644 --- a/Mage/src/main/java/mage/MageObjectImpl.java +++ b/Mage/src/main/java/mage/MageObjectImpl.java @@ -103,7 +103,8 @@ public abstract class MageObjectImpl implements MageObject { this.subtype.addAll(object.subtype); supertype.addAll(object.supertype); this.copy = object.copy; - textParts = new ArrayList<>(object.textParts); + textParts = new ArrayList<>(); + textParts.addAll(object.textParts); } @Override diff --git a/Mage/src/main/java/mage/cards/repository/CardRepository.java b/Mage/src/main/java/mage/cards/repository/CardRepository.java index 7889341d5a..8224840662 100644 --- a/Mage/src/main/java/mage/cards/repository/CardRepository.java +++ b/Mage/src/main/java/mage/cards/repository/CardRepository.java @@ -58,7 +58,7 @@ public enum CardRepository { // raise this if db structure was changed private static final long CARD_DB_VERSION = 51; // raise this if new cards were added to the server - private static final long CARD_CONTENT_VERSION = 89; + private static final long CARD_CONTENT_VERSION = 90; private Dao cardDao; private Set classNames;