From a4781f047982c0a9dbe01c98de2a16884935860f Mon Sep 17 00:00:00 2001 From: Osip Fatkullin Date: Sun, 14 Feb 2021 11:48:18 +0300 Subject: [PATCH] version: Bump supported version to 1.16 --- .../ru/endlesscode/rpginventory/compat/VersionHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/endlesscode/rpginventory/compat/VersionHandler.java b/src/main/java/ru/endlesscode/rpginventory/compat/VersionHandler.java index b688d18..53f8a0e 100644 --- a/src/main/java/ru/endlesscode/rpginventory/compat/VersionHandler.java +++ b/src/main/java/ru/endlesscode/rpginventory/compat/VersionHandler.java @@ -37,17 +37,18 @@ public class VersionHandler { public static final int VERSION_1_14 = 1_14_00; public static final int VERSION_1_15 = 1_15_00; public static final int VERSION_1_16 = 1_16_00; + public static final int VERSION_1_17 = 1_17_00; private static final Pattern pattern = Pattern.compile("(?\\d\\.\\d{1,2}(\\.\\d)?)-.*"); private static int versionCode = -1; public static boolean isNotSupportedVersion() { - return getVersionCode() < VERSION_1_14 || getVersionCode() >= VERSION_1_16; + return getVersionCode() < VERSION_1_14 || getVersionCode() >= VERSION_1_17; } public static boolean isExperimentalSupport() { - return getVersionCode() >= VERSION_1_16; + return false; } public static boolean isLegacy() {