Added 1.16 support

This commit is contained in:
Butzlabben 2020-08-24 12:12:32 +02:00
parent b7358c8a52
commit 09d00ccf6a

View File

@ -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;