Update to V1.17.2

Bugfix backpack clean not saved when server restarts
This commit is contained in:
GeorgH93 2017-07-30 00:05:26 +02:00
parent c9dda334ca
commit 059e5ab6f0
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>MinePacks</artifactId>
<version>1.17.2-SNAPSHOT</version>
<version>1.17.2</version>
<scm>
<connection>scm:git:git@github.com:GeorgH93/Bukkit_Minepacks.git</connection>

View File

@ -134,6 +134,7 @@ public void onResult(Backpack backpack)
if(backpack != null)
{
backpack.getInventory().clear();
backpack.setChanged();
backpack.save();
player.sendMessage(messageBackpackCleaned);
}