mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Bugfix
Bugfix where cleaning the backpack sometimes didn't save the cleaned backpack
This commit is contained in:
parent
fc895b9b5e
commit
b8a7cfc4d8
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user