You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This part sets the next message index after message has been sent. If messages are cleared during the coolodown (while this.npcData.messages.get(msgPos).getSecond() < pl.ticksSinceLastMessage() is false), mod will crash with out of bounds exception.
Taterzens/common/src/main/java/org/samo_lego/taterzens/npc/TaterzenNPC.java
Lines 334 to 346 in c3a4402
This part sets the next message index after message has been sent. If messages are cleared during the coolodown (while
this.npcData.messages.get(msgPos).getSecond() < pl.ticksSinceLastMessage()
isfalse
), mod will crash with out of bounds exception.Same can happen with path nodes.
Potential solution
The text was updated successfully, but these errors were encountered: