Skip to content

Commit 654b0a9

Browse files
committed
Remove isEmpty check
1 parent f605783 commit 654b0a9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/client/java/aztech/modern_industrialization/machines/gui/MachineScreen.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,7 @@ private void renderConfigurableSlotBackgrounds(GuiGraphics guiGraphics) {
218218
}
219219
int px = leftPos + slot.x - 1;
220220
int py = topPos + slot.y - 1;
221-
if (slot.getItem().isEmpty()) {
222-
guiGraphics.blit(atlas, px, py, brs.getBackgroundU(), brs.getBackgroundV(), 18, 18);
223-
} else {
224-
guiGraphics.blit(atlas, px, py, 0, 0, 18, 18);
225-
}
221+
guiGraphics.blit(atlas, px, py, brs.getBackgroundU(), brs.getBackgroundV(), 18, 18);
226222
}
227223
}
228224
}

0 commit comments

Comments
 (0)