mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-09 12:11:08 +00:00
Fix platform loading for 1.17.1
This commit is contained in:
parent
dea78676e9
commit
fd3b3b3785
@ -196,8 +196,9 @@ public class ShopChest extends JavaPlugin {
|
||||
break;
|
||||
case "v1_17_R1":
|
||||
// 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_18_R1.PlatformImpl();
|
||||
platform = new de.epiceric.shopchest.nms.v1_17_1_R1.PlatformImpl();
|
||||
}
|
||||
else {
|
||||
platform = new de.epiceric.shopchest.nms.v1_17_R1.PlatformImpl();
|
||||
|
Loading…
Reference in New Issue
Block a user