diff --git a/pom.xml b/pom.xml index 16aa125..72313d4 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 at.pcgamingfreaks MinePacks - 1.17.2-SNAPSHOT + 1.17.2 scm:git:git@github.com:GeorgH93/Bukkit_Minepacks.git diff --git a/src/at/pcgamingfreaks/MinePacks/OnCommand.java b/src/at/pcgamingfreaks/MinePacks/OnCommand.java index b9455c1..fde8162 100644 --- a/src/at/pcgamingfreaks/MinePacks/OnCommand.java +++ b/src/at/pcgamingfreaks/MinePacks/OnCommand.java @@ -134,6 +134,7 @@ public void onResult(Backpack backpack) if(backpack != null) { backpack.getInventory().clear(); + backpack.setChanged(); backpack.save(); player.sendMessage(messageBackpackCleaned); }