9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 20:39:10 +00:00

改个注释

This commit is contained in:
jhqwqmc
2025-06-25 11:42:09 +08:00
parent e0e26f410a
commit 1d295f08ca

View File

@@ -44,8 +44,8 @@ public class VersionHelper {
int major = Integer.parseInt(split[1]);
int minor = split.length == 3 ? Integer.parseInt(split[2].split("-", 2)[0]) : 0;
// 2001 = 1.20.1
// 2104 = 1.21.4
// 12001 = 1.20.1
// 12104 = 1.21.4
version = parseVersionToInteger(versionString);
v1_20 = version >= 12000;