Don't show empty lines in crafting monitor
This commit is contained in:
@@ -123,7 +123,7 @@ public class GuiCraftingMonitor extends GuiBase {
|
|||||||
|
|
||||||
GlStateManager.popMatrix();
|
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");
|
lines = task.info.split("\n");
|
||||||
|
|
||||||
for (int j = 0; j < lines.length; ++j) {
|
for (int j = 0; j < lines.length; ++j) {
|
||||||
|
|||||||
Reference in New Issue
Block a user