[1.18.1] `BeltLighter.updateBlockLight` crashes with index out of bounds
josiah-roberts opened this issue ยท 1 comments
Describe the Bug
Sometimes when modifying a block that touches a belt, the game will crash in BeltTileEntity$BeltLighter.updateBlockLight
.
java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 8
at com.simibubi.create.content.contraptions.relays.belt.BeltTileEntity$BeltLighter.updateBlockLight(BeltTileEntity.java:631) ~[create-mc1.18.1_v0.4c.jar%2369!:mc1.18.1_v0.4c] {re:classloading,pl:runtimedistcleaner:A}
at com.simibubi.create.content.contraptions.relays.belt.BeltTileEntity$BeltLighter.onLightUpdate(BeltTileEntity.java:602) ~[create-mc1.18.1_v0.4c.jar%2369!:mc1.18.1_v0.4c] {re:classloading,pl:runtimedistcleaner:A}
at com.jozufozu.flywheel.light.LightUpdater.onLightUpdate(LightUpdater.java:105) ~[flywheel-forge-1.18-0.5.1.jar%2377!:1.18-0.5.1] {re:mixin,re:classloading}
at net.minecraft.client.multiplayer.ClientChunkCache.handler$zed000$onLightUpdate(ClientChunkCache.java:534) ~[client-1.18.1-20211210.034407-srg.jar%2399!:?]
Reproduction Steps
Sorry, I don't have a specific reproduction at this time.
Expected Result
Don't crash.
Screenshots and Videos
No response
Crash Report or Log
Operating System
Linux
Mod Version
0.4.0c
Minecraft Version
1.18.1
Forge Version
39.0.10
Other Mods
advancedperipherals-1.18.1-0.7.8.1r.jar
alexsmobs-1.16.0.jar
AmbientSounds_v5.0.0_mc1.18.1.jar
appleskin-forge-mc1.18-2.2.0.jar
appliedenergistics2-10.0.0-beta.3.jar
architectury-3.4.9.jar
balm-2.4.0+0.jar
caelus-forge-1.18-3.0.0.1.jar
cc-tweaked-1.18.1-1.100.1.jar
ChiselsBits-forge-1.18.1-1.2.73-universal.jar
citadel-1.10.8-1.18.jar
compactmachines-4.0.0-beta.4.jar
configured-1.5.1-1.18.1.jar
consistency_plus-0.4.3+1.18-forge.jar
cookingforblockheads-forge-1.18-11.0.0.jar
CosmeticArmorReworked-1.18.1-v1a.jar
craftingtweaks-forge-1.18.1-14.0.2.jar
create-mc1.18.1_v0.4c.jar
CreativeCore_v2.4.1_mc1.18.1.jar
Croptopia-1.18-FORGE-1.8.0.jar
curioofundying-forge-1.18-5.3.0.0.jar
curios-forge-1.18.1-5.0.5.1.jar
curiouselytra-forge-1.18.1-5.0.1.0.jar
expandedstorage-7.3.6+1.18.jar
FastLeafDecay-27.2.jar
flywheel-forge-1.18-0.5.1.jar
FramedBlocks-4.0.2.jar
gravestone-1.18.1-1.0.0.jar
inventorysorter-1.18-19.0.0.jar
Jade-1.18-4.1.2.jar
jei-1.18.1-9.2.1.69.jar
JustEnoughProfessions-1.18-1.2.2.jar
JustEnoughResources-1.18.1-0.13.1.138.jar
mcw-doors-1.0.5-mc1.18.1.jar
mcw-lights-1.0.2-mc1.18.1.jar
MmmMmmMmmMmm-1.18-1.5.0.jar
modnametooltip-1.18.1-1.18.0.jar
MouseTweaks-forge-mc1.18-2.19.jar
ninjaphenix-container-library-1.2.10+1.18.jar
selene-1.18-1.11.jar
stonecutter_recipe_tags-2.0.1.jar
supplementaries-1.18.1-1.1.8.jar
ToolBelt-1.18-1.18.0.jar
voidtotem-forge-1.18.1-1.1.0.jar
worldedit-mod-7.2.8.jar
Xaeros_Minimap_21.23.0_Forge_1.18.jar
XaerosWorldMap_1.19.0_Forge_1.18.jar
Additional Context
No response
Thanks for reporting. Fixed in Patch D