mirror of
https://github.com/Flowsqy/ShopChest.git
synced 2024-12-02 02:03:23 +01: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;
|
break;
|
||||||
case "v1_17_R1":
|
case "v1_17_R1":
|
||||||
// Need to have an implementation for 1.17.1 and 1.17 -> Change in the name of EntityDestroyPacket
|
// 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")){
|
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 {
|
else {
|
||||||
platform = new de.epiceric.shopchest.nms.v1_17_R1.PlatformImpl();
|
platform = new de.epiceric.shopchest.nms.v1_17_R1.PlatformImpl();
|
||||||
|
Loading…
Reference in New Issue
Block a user