From be2d27708a94c982f3bdbe647f11ad6a9edc1d65 Mon Sep 17 00:00:00 2001 From: Brianna Date: Fri, 5 Mar 2021 09:07:07 -0600 Subject: [PATCH 1/2] The editing tool bar now loads when the GUI initially opens. --- src/main/java/com/songoda/ultimatekits/gui/KitEditorGui.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/ultimatekits/gui/KitEditorGui.java b/src/main/java/com/songoda/ultimatekits/gui/KitEditorGui.java index 495a8a5..b0422b8 100644 --- a/src/main/java/com/songoda/ultimatekits/gui/KitEditorGui.java +++ b/src/main/java/com/songoda/ultimatekits/gui/KitEditorGui.java @@ -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() { From ca8dbc5fb2136f4a8d0b664b45b5a29efa9a590f Mon Sep 17 00:00:00 2001 From: Brianna Date: Fri, 5 Mar 2021 09:10:28 -0600 Subject: [PATCH 2/2] version 2.6.14 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b8a9c77..e0c7e58 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda UltimateKits 4.0.0 - 2.6.13 + 2.6.14 clean install UltimateKits-${project.version}