Sporadic crash using parcool
Summary The game crashes when the player performs a sneak action. The error occurs in CancelMarks.cancelSneak from the ParCool! mod. It seems like the function is trying to access an empty or invalid list, causing an IndexOutOfBoundsException.
Running Environment
- 1.20.1
- ParCool Version: parcool-1.20.1-3.3.1.1
- Forge Version (optional):
Detail
Possible Conflicts: Other mods affecting player movement/animation: Emotecraft BetterCombat Fabric Entity Events
Crash Log Snippet: java.lang.IndexOutOfBoundsException: Index: 0, Size: -1 at java.util.LinkedList.checkPositionIndex(LinkedList.java:564) at java.util.LinkedList.listIterator(LinkedList.java:871) at java.util.AbstractList.listIterator(AbstractList.java:311) at java.util.Collection.removeIf(Collection.java:574) at com.alrex.parcool.common.action.CancelMarks.cancelSneak(CancelMarks.java:32)
Additional Data Such as Screenshots or Crash Reports (I am happy and fix the bug more easily if you send me these)
crash-2025-03-16_22.38.14-client.txt
it's happened to me twice in a row, using the forward key and jumping.
Maybe emotecraft
really wtf size : -1. Multi thread access?
We have a mod that changes the size of the players (pehkui) and an emote mod (emotecraft)
It doesn't happen on all the players, I can't see a constant in all this
Please report if this issue occurs again