Fixed addons and hooks icons in Management Panel not going to the next line

This commit is contained in:
Florian CUNY 2019-04-19 10:53:14 +02:00
parent 3bb5ebb688
commit 0108d254ee

View File

@ -91,6 +91,9 @@ public class ManagementPanel {
builder.item(startSlot + i, addonItem); builder.item(startSlot + i, addonItem);
i++; i++;
if (builder.slotOccupied(i)) {
i = i+2;
}
} }
break; break;
case HOOKS: case HOOKS:
@ -106,6 +109,9 @@ public class ManagementPanel {
builder.item(startSlot + i, hookItem); builder.item(startSlot + i, hookItem);
i++; i++;
if (builder.slotOccupied(i)) {
i = i+2;
}
} }
break; break;
} }