Fix tank rendering over slot config popup
This commit is contained in:
parent
7dfc8e41c3
commit
04b4fa2b88
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ public class TRBuilder extends GuiBuilder {
|
|||
}
|
||||
|
||||
public void drawTank(GuiBase gui, int x, int y, int mouseX, int mouseY, FluidStack fluid, int maxCapacity, boolean isTankEmpty, GuiBase.Layer layer) {
|
||||
if(GuiBase.showSlotConfig){
|
||||
return;
|
||||
}
|
||||
if (layer == GuiBase.Layer.BACKGROUND) {
|
||||
x += gui.getGuiLeft();
|
||||
y += gui.getGuiTop();
|
||||
|
|
Loading…
Add table
Reference in a new issue