mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 17:45:08 +02:00
Use essentials data folder location for protect db
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user