mirror of
https://github.com/songoda/UltimateKits.git
synced 2025-02-19 21:02:05 +01:00
The editing tool bar now loads when the GUI initially opens.
This commit is contained in:
parent
42e11e8f7e
commit
be2d27708a
@ -50,7 +50,6 @@ public class KitEditorGui extends DoubleGui {
|
||||
.processPlaceholder("name", kit.getName())
|
||||
.getMessage());
|
||||
|
||||
setInvItems();
|
||||
setOnClose((event) -> {
|
||||
restoreItemsInstance();
|
||||
this.saveKit(player, inventory, false);
|
||||
@ -90,6 +89,8 @@ public class KitEditorGui extends DoubleGui {
|
||||
|
||||
saveItemsInstance();
|
||||
paint();
|
||||
|
||||
Bukkit.getScheduler().runTaskLater(plugin, this::setInvItems, 3L);
|
||||
}
|
||||
|
||||
private void paint() {
|
||||
|
Loading…
Reference in New Issue
Block a user