Skip to content

Commit 97405ab

Browse files
committed
add amount desc for fluid slots
1 parent 7ab32ca commit 97405ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/gregtech/common/mui/widget/GTFluidSlot.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ public GTFluidSlot() {
5959
if (this.syncHandler.showAmount())
6060
tooltip.addLine(IKey.lang("gregtech.fluid.amount", fluid.amount, this.syncHandler.getCapacity()));
6161

62+
if (this.syncHandler.isPhantom() && this.syncHandler.showAmount())
63+
tooltip.addLine(IKey.lang("modularui.fluid.phantom.control"));
64+
6265
// Add various tooltips from the material
6366
for (String s : FluidTooltipUtil.getFluidTooltip(fluid)) {
6467
if (s.isEmpty()) continue;

0 commit comments

Comments
 (0)