mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Add forceSave() and update import for StringUtils
This commit is contained in:
parent
d9e101e0f1
commit
084e5a475b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user