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

Fix empty crates and drums not stacking with new ones #2449

Merged

Conversation

omergunr100
Copy link
Contributor

What

Solves the issue with crates where they'd save an empty tag causing them not to stack with new crates.
Solves the issue with drums where they'd save a tag with an empty fluidstack causing them not to stack with new drums.

Implementation Details

Just added a check for crates to see if they're taped and for drums if they're not empty before saving the tag.

Outcome

They stack correctly when broken and still save their data otherwise.

Also

Fixes #2310

@omergunr100 omergunr100 requested a review from a team as a code owner November 28, 2024 14:33
@krossgg krossgg changed the title Fixes broken and empty crates and drums not stacking with new ones Fix empty crates and drums not stacking with new ones Nov 29, 2024
@krossgg krossgg added the type: bugfix general bug fixes label Nov 29, 2024
@Spicierspace153 Spicierspace153 merged commit c96bfb7 into GregTechCEu:1.20.1 Nov 30, 2024
4 checks passed
@omergunr100 omergunr100 deleted the 1.20.1-crate-drum-stacking branch November 30, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bugfix general bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crates and drums don't stack when mined
3 participants