Refactored packages for 1.21.8

This commit is contained in:
OakLoaf
2025-07-19 18:23:32 +01:00
parent 852f5aa610
commit 4ddb741d0d
26 changed files with 40 additions and 43 deletions

View File

@@ -47,8 +47,8 @@ public interface Initializer {
private static PlatformImpl constructPlatform(TerraBukkitPlugin plugin) {
try {
String packageVersion = NMS;
if (NMS.equals("v1_21_5") || NMS.equals("v1_21_6") || NMS.equals("v1_21_8")) {
packageVersion = "v1_21_7";
if (NMS.equals("v1_21_5") || NMS.equals("v1_21_6") || NMS.equals("v1_21_7")) {
packageVersion = "v1_21_8";
}
Class<?> platformClass = Class.forName(TERRA_PACKAGE + "." + packageVersion + ".NMSPlatform");