Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative Time Crash (all versions) #391

Open
YakosWG opened this issue Oct 10, 2022 · 0 comments
Open

Negative Time Crash (all versions) #391

YakosWG opened this issue Oct 10, 2022 · 0 comments

Comments

@YakosWG
Copy link

YakosWG commented Oct 10, 2022

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?

  1. Set the sub-season duration to a high number (e.g integer limit)
  2. Advance the season either via commands or by changing the starting sub-season
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant