mirror of
https://github.com/Flowsqy/ShopChest.git
synced 2025-01-08 07:57:41 +01:00
Fix NMS loading for 1.17.1 (module rename)
This commit is contained in:
parent
5782d5efb4
commit
020ceb5821
@ -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
|
// 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)
|
// 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_17_1_R1.PlatformImpl();
|
platform = new de.epiceric.shopchest.nms.v1_17_R2.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