Skip to content

Commit a4781f0

Browse files
committed
version: Bump supported version to 1.16
1 parent e4f88ea commit a4781f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/ru/endlesscode/rpginventory/compat/VersionHandler.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,18 @@ public class VersionHandler {
3737
public static final int VERSION_1_14 = 1_14_00;
3838
public static final int VERSION_1_15 = 1_15_00;
3939
public static final int VERSION_1_16 = 1_16_00;
40+
public static final int VERSION_1_17 = 1_17_00;
4041

4142
private static final Pattern pattern = Pattern.compile("(?<version>\\d\\.\\d{1,2}(\\.\\d)?)-.*");
4243

4344
private static int versionCode = -1;
4445

4546
public static boolean isNotSupportedVersion() {
46-
return getVersionCode() < VERSION_1_14 || getVersionCode() >= VERSION_1_16;
47+
return getVersionCode() < VERSION_1_14 || getVersionCode() >= VERSION_1_17;
4748
}
4849

4950
public static boolean isExperimentalSupport() {
50-
return getVersionCode() >= VERSION_1_16;
51+
return false;
5152
}
5253

5354
public static boolean isLegacy() {

0 commit comments

Comments
 (0)