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
{{ message }}
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
Describe the bug
If replace string contains more groups, than it's in RegEx, then it leads to game crash.
Minecraft Info
Minecraft information:
To Reproduce
Steps to reproduce the behavior:
Chat Filters, clickNew Filterand thenConfigure;Test Input;Expected behavior
I expected to see an in-game error, similar to RegEx parse error.
Video
IndexOutOfBoundsException.mp4
Additional context
Here's filter, that I used:
{"name":"headphone","active":false,"stripColors":true,"findString":"(.*) (.*)","findType":"regex","replaceType":"fullmessage","replaceTo":"$1 $2 $3","replaceTextColor":false,"textColor":"#FFFFFFFF","replaceBackgroundColor":false,"backgroundColor":"#FFFFFFFF","processors":{"forward":{"active":true},"actionbar":{"active":false},"sound":{"active":false,"notifySound":"none","soundPitch":1.0,"soundVolume":1.0},"narrator":{"active":false,"message":"$1"},"konstruct":{"active":false,"nodeData":""}},"order":0}And here's crash report:
crash-2022-05-27_14.09.44-client.txt