mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Update to V1.17.2
Bugfix backpack clean not saved when server restarts
This commit is contained in:
parent
c9dda334ca
commit
059e5ab6f0
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -134,6 +134,7 @@ public void onResult(Backpack backpack)
|
||||
if(backpack != null)
|
||||
{
|
||||
backpack.getInventory().clear();
|
||||
backpack.setChanged();
|
||||
backpack.save();
|
||||
player.sendMessage(messageBackpackCleaned);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user