Fix rendering of fluid filter slots in UIs.

This commit is contained in:
Sebastian Hartte
2020-08-27 00:20:53 +02:00
parent 1d2ac29742
commit 5cab9c8799
@@ -39,8 +39,8 @@ public class FluidSlotWidget extends CustomSlotWidget {
// The tooltip area coincides with the area of the slot // The tooltip area coincides with the area of the slot
int x = getTooltipAreaX(); int x = getTooltipAreaX();
int y = getTooltipAreaY(); int y = getTooltipAreaY();
int width = getTooltipAreaX(); int width = getTooltipAreaWidth();
int height = getTooltipAreaY(); int height = getTooltipAreaHeight();
fs.getFluidStack().renderGuiRect(x, y, x + width, y + height); fs.getFluidStack().renderGuiRect(x, y, x + width, y + height);
} }
} }