1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 01:25:26 +02:00

Use essentials data folder location for protect db

This commit is contained in:
ementalo
2012-06-27 10:15:20 +01:00
parent c5d93a7e54
commit 3d96c9caaf

View File

@@ -105,8 +105,8 @@ public class EssentialsConnect
else
{
try
{
protect.setStorage(new ProtectedBlockSQLite("jdbc:sqlite:plugins/Essentials/EssentialsProtect.db"));
{
protect.setStorage(new ProtectedBlockSQLite("jdbc:sqlite:" + ess.getDataFolder() + "/EssentialsProtect.db"));
}
catch (PropertyVetoException ex)
{