CreeperHeal

CreeperHeal

281k Downloads

ClassCastException when replacing a chest on 1.17.1

MCUmbrella opened this issue ยท 0 comments

commented

Here is the error log when trying to replace a chest:

[21:28:54] [Server thread/WARN]: [CreeperHeal] org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock
[21:28:54] [Server thread/WARN]: [CreeperHeal] LEGACY_AIR at -751; 68; 544
[21:28:54] [Server thread/WARN]: java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_17_R1.block.CraftBlockState cannot be cast to class org.bukkit.inventory.InventoryHolder (org.bukkit.craftbukkit.v1_17_R1.block.CraftBlockState and org.bukkit.inventory.InventoryHolder are in unnamed module of loader 'app')
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.CreeperChest.update(CreeperChest.java:148)
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.CreeperBlock.replace(CreeperBlock.java:312)
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.CreeperExplosion.replace_one_block(CreeperExplosion.java:161)
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.CreeperExplosion.checkReplace(CreeperExplosion.java:328)
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.ExplodedBlockManager.checkReplace(ExplodedBlockManager.java:236)
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.ExplodedBlockManager.access$100(ExplodedBlockManager.java:33)
[21:28:54] [Server thread/WARN]:        at com.nitnelave.CreeperHeal.block.ExplodedBlockManager$2.run(ExplodedBlockManager.java:317)
[21:28:54] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
[21:28:54] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[21:28:54] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1490)
[21:28:54] [Server thread/WARN]:        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:479)
[21:28:54] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406)
[21:28:54] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1188)
[21:28:54] [Server thread/WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[21:28:54] [Server thread/WARN]:        at java.base/java.lang.Thread.run(Unknown Source)