TheCBProject / CBMultipart

An API for dynamically handling different functional parts in the one block space.
Other
22 stars 27 forks source link

[1.12.2] Crash with lever & torch in the same block #112

Closed xJon closed 3 years ago

xJon commented 3 years ago

Reported over https://github.com/xJon/The-1.12.2-Pack/issues/732:

https://youtu.be/ktlQhNl5s2U?t=69

java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: 0
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_292]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_292]
at net.minecraft.util.Util.runTask(SourceFile:531) [h.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: java.lang.IndexOutOfBoundsException: 0
at scala.collection.LinearSeqOptimized$class.apply(LinearSeqOptimized.scala:51) ~[scala-library-2.11.1.jar:?]
at scala.collection.immutable.List.apply(List.scala:83) ~[List.class:?]
at codechicken.multipart.MultipartGenerator$.addPart(MultipartGenerator.scala:82) ~[MultipartGenerator$.class:?]
at codechicken.multipart.TileMultipart$.addPart(TileMultipart.scala:723) ~[TileMultipart$.class:?]
at codechicken.multipart.ItemPlacementHelper$.place(ItemPlacementHelper.scala:57) ~[ItemPlacementHelper$.class:?]
at codechicken.multipart.handler.MultipartSPH$.handlePacket(packethandlers.scala:92) ~[MultipartSPH$.class:?]
at codechicken.lib.packet.PacketCustom$ServerInboundHandler.handle(PacketCustom.java:135) ~[PacketCustom$ServerInboundHandler.class:?]
at codechicken.lib.packet.PacketCustom$ServerInboundHandler.lambda$handle$0(PacketCustom.java:133) ~[PacketCustom$ServerInboundHandler.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_292]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_292]
at net.minecraft.util.Util.runTask(SourceFile:529) ~[h.class:?]

I am not able to reproduce it on first try but the player attached a world download to the report. Thank you!

covers1624 commented 3 years ago

Unfortunately. 1.12 is not supported anymore.