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
int x = getTooltipAreaX();
int y = getTooltipAreaY();
int width = getTooltipAreaX();
int height = getTooltipAreaY();
int width = getTooltipAreaWidth();
int height = getTooltipAreaHeight();
fs.getFluidStack().renderGuiRect(x, y, x + width, y + height);
}
}