[08:43:18 WARN]: [WildChests] Task #46974 for WildChests v2.2.3 generated an exception
java.lang.ClassCastException: class net.minecraft.server.v1_12_R1.TileEntityChest cannot be cast to class com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest (net.minecraft.server.v1_12_R1.TileEntityChest is in unnamed module of loader 'app'; com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @2cd2abd9)
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.getTileEntity(NMSInventory_v1_12_R1.java:158) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.openPage(NMSInventory_v1_12_R1.java:125) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WChest.openPage(WChest.java:204) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WStorageChest.lambda$updateInventory$3(WStorageChest.java:402) ~[WildChests-2.2.3.jar:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[?:?]
at com.bgsoftware.wildchests.objects.chests.WStorageChest.updateInventory(WStorageChest.java:402) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WStorageChest.lambda$update$0(WStorageChest.java:218) ~[WildChests-2.2.3.jar:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [server.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:829) [?:?]
Second Mistake
I get an error if I don't confirm opening the second page in the wide chest.
[08:59:07 WARN]: [WildChests] Task #85805 for WildChests v2.2.3 generated an exception
java.lang.ClassCastException: class net.minecraft.server.v1_12_R1.TileEntityChest cannot be cast to class com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest (net.minecraft.server.v1_12_R1.TileEntityChest is in unnamed module of loader 'app'; com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @2cd2abd9)
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.getTileEntity(NMSInventory_v1_12_R1.java:158) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.openPage(NMSInventory_v1_12_R1.java:125) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WChest.openPage(WChest.java:204) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.listeners.InventoryListener.lambda$handleUpgrade$3(InventoryListener.java:171) ~[WildChests-2.2.3.jar:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [server.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:829) [?:?]
If i confirm i get error.
[09:12:28 WARN]: [WildChests] Task #115504 for WildChests v2.2.3 generated an exception
java.lang.ClassCastException: class net.minecraft.server.v1_12_R1.TileEntityChest cannot be cast to class com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest (net.minecraft.server.v1_12_R1.TileEntityChest is in unnamed module of loader 'app'; com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @2cd2abd9)
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.getTileEntity(NMSInventory_v1_12_R1.java:158) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.openPage(NMSInventory_v1_12_R1.java:125) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WChest.openPage(WChest.java:204) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.listeners.InventoryListener.lambda$handleUpgrade$3(InventoryListener.java:171) ~[WildChests-2.2.3.jar:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [server.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:829) [?:?]
If I try to open pages after confirming, I get an error.
[09:19:31 ERROR]: Could not pass event InventoryClickEvent to WildChests v2.2.3
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1893) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-79a30d7-acbc348]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [server.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.server.v1_12_R1.TileEntityChest cannot be cast to class com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest (net.minecraft.server.v1_12_R1.TileEntityChest is in unnamed module of loader 'app'; com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1$TileEntityWildChest is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @2cd2abd9)
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.getTileEntity(NMSInventory_v1_12_R1.java:158) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.nms.NMSInventory_v1_12_R1.openPage(NMSInventory_v1_12_R1.java:125) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WChest.openPage(WChest.java:204) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.objects.chests.WChest.onInteract(WChest.java:285) ~[WildChests-2.2.3.jar:?]
at com.bgsoftware.wildchests.listeners.InventoryListener.onChestInteract(InventoryListener.java:120) ~[WildChests-2.2.3.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-Spigot-79a30d7-acbc348]
Minecraft's Version
Spigot 1.12.2
Plugin's Version
Latest stable version 2.2.3 27/12/2021 10:22:31
Describe the bug
First Mistake
I get an error if i add items to storage chest.
Second Mistake
I get an error if I don't confirm opening the second page in the wide chest.
If i confirm i get error.
If I try to open pages after confirming, I get an error.
Third Mistake
Chest selling items not working.
But nothing happens.
Auto crafter chest is not working either.
And The Last Mistake
Particles not working.
To Reproduce
⬆ ⬆ There is a detailed explanation above. ⬆ ⬆
Additional Information
No response