Skip to content

Commit b073444

Browse files
Merge remote-tracking branch 'origin/dev' into dev
2 parents bbb4d8f + 20a078a commit b073444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/dev/ftb/mods/ftblibrary/client/icon/Color4IRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public enum Color4IRenderer implements IconRenderer<Color4I> {
1212

1313
@Override
1414
public void render(Color4I icon, GuiGraphics graphics, int x, int y, int w, int h) {
15-
if (w > 0 && h > 0) {
15+
if (w > 0 && h > 0 && !icon.isEmpty()) {
1616
graphics.fill(RenderPipelines.GUI, x, y, x + w, y + h, icon.rgba());
1717
}
1818
}

0 commit comments

Comments
 (0)