Negative Time Crash (all versions)
YakosWG opened this issue ยท 0 comments
What's the issue you encountered?
When the sub_season_duration setting in the config is set to a very high number advancing the season will crash the game.
This issue seemingly persists throughout all versions of the mod from 1.12.2 all the way to 1.19.2
How can the issue be reproduced?
- Set the sub-season duration to a high number (e.g integer limit)
- Advance the season either via commands or by changing the starting sub-season
- Game will crash with IllegalArgumentException: Time cannot be negative!
Logs
https://gist.github.com/YakosWG/3a53ef9aaa7a8a97aad260f6c2a2a8bc
Mod Version
8.1.0.21
Additional information
Example of 1.12.2 crash: https://pastebin.com/YWVNu3Yd
The issue also occurs with other sufficiently large sub-season durations. It does not have to be the integer limit. Basically, any number above ~100 million will work.