SuperMartijn642 / PackedUp

3 stars 6 forks source link

[Crash] shift left click crashes game (smooth swapping incompatibility) #79

Closed slovinsqui closed 2 hours ago

slovinsqui commented 14 hours ago

Steps to Reproduce shift left click crashes game when transfering an stacked item from backpack to player inventory

Crash report (~/logs/latest.log) latest.log

SuperMartijn642 commented 12 hours ago

Caused by: java.lang.IndexOutOfBoundsException: Index 57 out of bounds for length 46 at jdk.internal.util.Preconditions.outOfBounds(Unknown Source) ~[?:?] at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source) ~[?:?] at jdk.internal.util.Preconditions.checkIndex(Unknown Source) ~[?:?] at java.util.Objects.checkIndex(Unknown Source) ~[?:?] at java.util.ArrayList.get(Unknown Source) ~[?:?] at net.minecraft.core.NonNullList.get(NonNullList.java:47) ~[client-1.20.1-20230612.114412-srg.jar%23752!/:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handler$fgh003$smoothswapping$onInit(ServerboundContainerClickPacket.java:558) ~[client-1.20.1-20230612.114412-srg.jar%23752!/:?]

The error occurs in a mixin from smoothswapping, so I would guess it is caused by that mod. Could you check if the issue goes away if you disable that mod?

slovinsqui commented 2 hours ago

sure!

slovinsqui commented 2 hours ago

yep, that seems to cause the crash, smoothswapping is incompatible

SuperMartijn642 commented 2 hours ago

I don't think there's much I can do about it as the error occurs in a mixin from smoothswapping. I'd suggest reporting the issue to them.