Skip to content

Fix fluid display widget rendering empty FluidStacks as full - #152

Merged
brachy84 merged 1 commit into
masterfrom
empty-fluid-display-fix
Jul 23, 2026
Merged

Fix fluid display widget rendering empty FluidStacks as full#152
brachy84 merged 1 commit into
masterfrom
empty-fluid-display-fix

Conversation

@tiffit

@tiffit tiffit commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

Early return for fluid.amount <= 0 so the fluid texture is not rendered for empty FluidStacks. Removed the fluid.amount > 0 check later because it will be always true.

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@tiffit tiffit added the Bug Fix Fixes a bug. Please link it in the PR if an issue exists for it. label Jul 23, 2026
@brachy84
brachy84 enabled auto-merge (squash) July 23, 2026 19:58
@brachy84
brachy84 merged commit 38f5ed8 into master Jul 23, 2026
1 check passed
@brachy84
brachy84 deleted the empty-fluid-display-fix branch July 23, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix Fixes a bug. Please link it in the PR if an issue exists for it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants