mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-02 13:23:21 +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) {
|
if (version == 0) {
|
||||||
// Detect version
|
// Detect version
|
||||||
String v = Bukkit.getVersion();
|
String v = Bukkit.getVersion();
|
||||||
if (v.contains("1.15"))
|
if (v.contains("1.16"))
|
||||||
|
version = 16;
|
||||||
|
else if (v.contains("1.15"))
|
||||||
version = 15;
|
version = 15;
|
||||||
else if (v.contains("1.14"))
|
else if (v.contains("1.14"))
|
||||||
version = 14;
|
version = 14;
|
||||||
|
Loading…
Reference in New Issue
Block a user