Refactored packages for 1.21.8

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

No files matched your search

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