mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-10-07 19:17:30 +02:00
Fixed addons and hooks icons in Management Panel not going to the next line
This commit is contained in:
parent
3bb5ebb688
commit
0108d254ee
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user