Skip to content

Conversation

@YoungOnionMC
Copy link
Member

What

Skips the recipe from registering if the duration is non positive, led to a crash in overclocking logic
also added several constants to GTValues for various amounts of time in ticks(seconds, minutes, hours etc)

Implementation Details

non positive check and log and return

Outcome

no more bug

@YoungOnionMC YoungOnionMC requested a review from a team as a code owner December 15, 2025 05:23
@YoungOnionMC YoungOnionMC added type: bugfix General bug fixes Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Dec 15, 2025
@github-actions github-actions bot added the Tests: Passed Game Tests have passed on this PR label Dec 15, 2025
@jurrejelle jurrejelle merged commit 13b14be into 1.20.1 Dec 15, 2025
6 checks passed
@jurrejelle jurrejelle deleted the yo/duration-val-check branch December 15, 2025 06:53
LeoDreamer2004 pushed a commit to LeoDreamer2004/GregTech-Modern that referenced this pull request Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants