Don't show empty lines in crafting monitor

This commit is contained in:
Raoul Van den Berge
2016-06-14 19:36:03 +02:00
parent 269ffe0126
commit 0baba16714

View File

@@ -123,7 +123,7 @@ public class GuiCraftingMonitor extends GuiBase {
GlStateManager.popMatrix();
if (inBounds(x + 5, y + 10, 16, 16, mouseX, mouseY)) {
if (inBounds(x + 5, y + 10, 16, 16, mouseX, mouseY) && !task.info.trim().equals("")) {
lines = task.info.split("\n");
for (int j = 0; j < lines.length; ++j) {