Add 1.21.1 support

This commit is contained in:
icanttellyou 2024-08-10 17:42:46 +03:00 committed by GitHub
parent fea8b11741
commit 8536fbb214
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ public class Helper {
Log.info("Loading Glowstone support");
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.BukkitVersionHelperGlowstone");
}
else if (v.contains("(MC: 1.21)")) {
else if (v.contains("(MC: 1.21)") || v.contains("(MC: 1.21.1)")) {
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.v121.BukkitVersionHelperSpigot121");
}
else if (v.contains("(MC: 1.20)") || v.contains("(MC: 1.20.1)")) {