Strict version required (empty hand bug in old versions)

This commit is contained in:
Oleg Agafonov 2019-07-13 19:56:56 +04:00
parent 683f0fd3fe
commit cb2730e0d5

View file

@ -15,7 +15,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
public static final String MAGE_EDITION_INFO = ""; // set "-beta" for 1.4.32-betaV0 public static final String MAGE_EDITION_INFO = ""; // set "-beta" for 1.4.32-betaV0
public static final String MAGE_VERSION_MINOR_PATCH = "V4"; // default public static final String MAGE_VERSION_MINOR_PATCH = "V4"; // default
// strict mode // strict mode
private static final boolean MAGE_VERSION_MINOR_PATCH_MUST_BE_SAME = false; // set true on uncompatible github changes, set false after new major release (after MAGE_VERSION_PATCH changes) private static final boolean MAGE_VERSION_MINOR_PATCH_MUST_BE_SAME = true; // set true on uncompatible github changes, set false after new major release (after MAGE_VERSION_PATCH changes)
public static final boolean MAGE_VERSION_SHOW_BUILD_TIME = true; public static final boolean MAGE_VERSION_SHOW_BUILD_TIME = true;
private final int major; private final int major;