diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java index b283c99..bf45c8a 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Backpack.java @@ -20,7 +20,7 @@ import at.pcgamingfreaks.Bukkit.MCVersion; import at.pcgamingfreaks.Bukkit.Util.InventoryUtils; import at.pcgamingfreaks.Minepacks.Bukkit.Database.Helper.InventoryCompressor; -import at.pcgamingfreaks.StringUtils; +import at.pcgamingfreaks.Util.StringUtils; import org.bukkit.Bukkit; import org.bukkit.Location; @@ -264,6 +264,12 @@ public void save() } } + public void forceSave() + { + hasChanged = true; + save(); + } + public void backup() { Minepacks.getInstance().getDatabase().backup(this);