fix rect rendering before items

This commit is contained in:
Raoul Van den Berge
2015-12-20 12:30:10 +01:00
parent bbcce0598f
commit e27e4c326d
2 changed files with 6 additions and 5 deletions

View File

@@ -98,8 +98,9 @@ public class GuiGrid extends GuiMachine {
int color = grid.isConnected() ? -2130706433 : 0xFF5B5B5B;
// @TODO: make it so it renders over the item
zLevel = 190;
drawGradientRect(x, y, x + 16, y + 16, color, color);
zLevel = 0;
}
slot++;