Configures the new v1_19_R3 NMS module in the NmsManager class

This commit is contained in:
Christian Koop 2023-03-29 18:22:13 +02:00
parent fafcf28e0b
commit 07374fdbfd
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -147,6 +147,12 @@ public class NmsManager {
nbt = new com.songoda.core.nms.v1_19_R2.nbt.NBTCoreImpl();
world = new com.songoda.core.nms.v1_19_R2.world.WorldCoreImpl();
break;
case "v1_19_R3":
player = new com.songoda.core.nms.v1_19_R3.entity.NMSPlayerImpl();
anvil = new com.songoda.core.nms.v1_19_R3.anvil.AnvilCore();
nbt = new com.songoda.core.nms.v1_19_R3.nbt.NBTCoreImpl();
world = new com.songoda.core.nms.v1_19_R3.world.WorldCoreImpl();
break;
default:
Logger.getLogger(NmsManager.class.getName()).log(Level.SEVERE, "Failed to load NMS for this server version: version {0} not found", serverPackageVersion);