1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +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

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