Skip to content

Commit

Permalink
add amount desc for fluid slots
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Dec 29, 2024
1 parent 7ab32ca commit 97405ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/gregtech/common/mui/widget/GTFluidSlot.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public GTFluidSlot() {
if (this.syncHandler.showAmount())
tooltip.addLine(IKey.lang("gregtech.fluid.amount", fluid.amount, this.syncHandler.getCapacity()));

if (this.syncHandler.isPhantom() && this.syncHandler.showAmount())
tooltip.addLine(IKey.lang("modularui.fluid.phantom.control"));

// Add various tooltips from the material
for (String s : FluidTooltipUtil.getFluidTooltip(fluid)) {
if (s.isEmpty()) continue;
Expand Down

0 comments on commit 97405ab

Please sign in to comment.