Merge branch 'development'

This commit is contained in:
Brianna 2021-03-05 09:10:34 -06:00
commit 450f907d6f
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<groupId>com.songoda</groupId>
<artifactId>UltimateKits</artifactId>
<modelVersion>4.0.0</modelVersion>
<version>2.6.13</version>
<version>2.6.14</version>
<build>
<defaultGoal>clean install</defaultGoal>
<finalName>UltimateKits-${project.version}</finalName>

View File

@ -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() {