mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-11-30 13:03:23 +01:00
Added 1.16 support
This commit is contained in:
parent
b7358c8a52
commit
09d00ccf6a
@ -18,7 +18,9 @@ public class VersionUtil {
|
||||
if (version == 0) {
|
||||
// Detect version
|
||||
String v = Bukkit.getVersion();
|
||||
if (v.contains("1.15"))
|
||||
if (v.contains("1.16"))
|
||||
version = 16;
|
||||
else if (v.contains("1.15"))
|
||||
version = 15;
|
||||
else if (v.contains("1.14"))
|
||||
version = 14;
|
||||
|
Loading…
Reference in New Issue
Block a user