diff --git a/src/main/java/org/cyclops/evilcraft/core/client/gui/container/ContainerScreenContainerTankInventory.java b/src/main/java/org/cyclops/evilcraft/core/client/gui/container/ContainerScreenContainerTankInventory.java index 761e974a59..9837e0ef9f 100644 --- a/src/main/java/org/cyclops/evilcraft/core/client/gui/container/ContainerScreenContainerTankInventory.java +++ b/src/main/java/org/cyclops/evilcraft/core/client/gui/container/ContainerScreenContainerTankInventory.java @@ -169,7 +169,10 @@ protected void drawBarTooltipTank(GuiGraphics guiGraphics, Component name, Fluid List lines = Lists.newArrayList(); lines.add(name); lines.add(DamageIndicatedItemComponent.getInfo(fluidStack, amount, capacity)); - drawTooltip(lines, guiGraphics.pose(), x, y); + guiGraphics.pose().pushPose(); + guiGraphics.pose().translate(this.leftPos, this.topPos, 0); + drawTooltip(lines, guiGraphics.pose(), x - this.leftPos, y - this.topPos); + guiGraphics.pose().popPose(); } }