xmage 1.4.26V4

This commit is contained in:
LevelX2 2017-09-16 16:55:58 +02:00
parent 563856434d
commit 2d6bcd83f4
3 changed files with 6 additions and 4 deletions

View file

@ -41,7 +41,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
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 = "V3";
public final static String MAGE_VERSION_MINOR_PATCH = "V4";
public final static String MAGE_VERSION_INFO = "";
private final int major;

View file

@ -1112,8 +1112,10 @@ public class HumanPlayer extends PlayerImpl {
// attack selected default defender
declareAttacker(attacker.getId(), attackedDefender, game, false);
}
// } else if (response.getInteger() != null) { // Ok or F-Key
} else if (response.getInteger() != null) { // F-Key
if (checkIfAttackersValid(game)) {
return;
}
} else if (response.getBoolean() != null) { // ok button
if (checkIfAttackersValid(game)) {
return;

View file

@ -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 = 90;
private static final long CARD_CONTENT_VERSION = 91;
private Dao<CardInfo, Object> cardDao;
private Set<String> classNames;