Fix rendering of fluid filter slots in UIs.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user