mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-19 14:50:30 +00:00
Refactored packages for 1.21.8
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user