mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-02-21 02:01:36 +01:00
Update VersionUtil.java
This commit is contained in:
parent
f15114b0a4
commit
38b65b1c0e
@ -19,7 +19,9 @@ public class VersionUtil {
|
||||
if (version == 0) {
|
||||
// Detect version
|
||||
String v = Bukkit.getVersion();
|
||||
if (v.contains("1.18"))
|
||||
if (v.contains("1.19"))
|
||||
version = 19;
|
||||
else if (v.contains("1.18"))
|
||||
version = 18;
|
||||
else if (v.contains("1.17"))
|
||||
version = 17;
|
||||
|
Loading…
Reference in New Issue
Block a user