Major Server Breaking Bug in Regex Resolving Stations
TheKayneGame opened this issue ยท 1 comments
Version:
- Minecraft Version: 1.21.1
- NeoForge Version 21.1.172
- Mod Version beta-0.8.1
Describe the bug
Server Crashes and lands in a Crashloop when Setting destination station <Something..>**
This may happen on accident
To Reproduce
Steps to reproduce the behavior:
- Open Train Schedule.
- add stop
- set stop to prioritised destination.
- set any of the stops to a station name with double wildcards (
**) - apply
- Close
- set as train schedule
- Crash
- restart server
- As soon as PrioritizedDestinationInstruction.start is called, crash
- Go to 9
Expected behavior
The exception not to crash the server and:
Disallow me from submitting this erroneous string.
Silently ignore this string.
Sanitise the string.
Screenshots
None
Additional context
Log Dump
https://mclo.gs/CgAcPNA
Most likely cause being
Not catching any exceptions.