mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-23 16:41:42 +01: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);
|
||||
i++;
|
||||
if (builder.slotOccupied(i)) {
|
||||
i = i+2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case HOOKS:
|
||||
@ -106,6 +109,9 @@ public class ManagementPanel {
|
||||
|
||||
builder.item(startSlot + i, hookItem);
|
||||
i++;
|
||||
if (builder.slotOccupied(i)) {
|
||||
i = i+2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user