Bugfix where cleaning the backpack sometimes didn't save the cleaned
backpack
This commit is contained in:
GeorgH93 2015-06-09 14:38:00 +02:00
parent fc895b9b5e
commit b8a7cfc4d8
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>MinePacks</artifactId>
<version>1.11.1</version>
<version>1.11.2</version>
<repositories>
<repository>
<id>in-project</id>

View File

@ -146,6 +146,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String arg, String[]
}
Backpack BP = plugin.DB.getBackpack(OP, false);
BP.getBackpack().clear();
plugin.DB.SaveBackpack(BP);
player.sendMessage(Message_BackpackCleaned);
}
else