Skip to content

Fix configurable maintenance hatches crashes with 1 tick recipes#4924

Open
n1xx1 wants to merge 1 commit into
GregTechCEu:1.20.1from
n1xx1:n1x/maintenance-hatches-recipe-modifications
Open

Fix configurable maintenance hatches crashes with 1 tick recipes#4924
n1xx1 wants to merge 1 commit into
GregTechCEu:1.20.1from
n1xx1:n1x/maintenance-hatches-recipe-modifications

Conversation

@n1xx1

@n1xx1 n1xx1 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What

Configurable maintenance hatches crash the game with 1 tick recipes.

Implementation Details

Basically just changed the math to round instead of flooring, and making sure 1 is always the minimum duration it can be.

AI Usage

  • No AI driven tools were used for this pull request.
  • Yes AI driven tools were used for this pull request.

How Was This Tested

Tested by users in the latest version of Star Technology, because it's already applied in the GTM fork of said modpack.

Additional Information

This is an example crash report caused by this issue https://mclo.gs/UxO4BRO

@n1xx1 n1xx1 requested a review from a team as a code owner June 12, 2026 09:52
@DilithiumThoride DilithiumThoride added type: bugfix General bug fixes Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Jun 13, 2026
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. type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants