From 020ceb582151cd1677c9d83589a26bd4d1d40087 Mon Sep 17 00:00:00 2001 From: Flowsqy <47575244+Flowsqy@users.noreply.github.com> Date: Tue, 26 Jul 2022 18:06:21 +0200 Subject: [PATCH] Fix NMS loading for 1.17.1 (module rename) --- plugin/src/main/java/de/epiceric/shopchest/ShopChest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/de/epiceric/shopchest/ShopChest.java b/plugin/src/main/java/de/epiceric/shopchest/ShopChest.java index 660809a..d5d1df8 100644 --- a/plugin/src/main/java/de/epiceric/shopchest/ShopChest.java +++ b/plugin/src/main/java/de/epiceric/shopchest/ShopChest.java @@ -198,7 +198,7 @@ public class ShopChest extends JavaPlugin { // Need to have an implementation for 1.17.1 and 1.17 -> Change in the name of EntityDestroyPacket // TODO Check CraftMagicNumbers (And create a dedicated class to load Platform) if(Bukkit.getBukkitVersion().equals("1.17.1-R0.1-SNAPSHOT")){ - platform = new de.epiceric.shopchest.nms.v1_17_1_R1.PlatformImpl(); + platform = new de.epiceric.shopchest.nms.v1_17_R2.PlatformImpl(); } else { platform = new de.epiceric.shopchest.nms.v1_17_R1.PlatformImpl();