From 07374fdbfd430946928e10742f1068700f893c99 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Wed, 29 Mar 2023 18:22:13 +0200 Subject: [PATCH] Configures the new v1_19_R3 NMS module in the NmsManager class --- Core/src/main/java/com/songoda/core/nms/NmsManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Core/src/main/java/com/songoda/core/nms/NmsManager.java b/Core/src/main/java/com/songoda/core/nms/NmsManager.java index 24c4939e..6e9faa6f 100644 --- a/Core/src/main/java/com/songoda/core/nms/NmsManager.java +++ b/Core/src/main/java/com/songoda/core/nms/NmsManager.java @@ -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);