Fix directory capitalisation
Fixes issue with plugin not loading on Linux
This commit is contained in:
parent
071efa181c
commit
fc34a9e5dd
|
@ -15,7 +15,7 @@ public class SQLiteHandler {
|
||||||
String baseLoc = Bukkit.getWorldContainer().toURI().toString().substring(6);
|
String baseLoc = Bukkit.getWorldContainer().toURI().toString().substring(6);
|
||||||
baseLoc = baseLoc.substring(0,baseLoc.length()-2);
|
baseLoc = baseLoc.substring(0,baseLoc.length()-2);
|
||||||
|
|
||||||
String url = "jdbc:sqlite:" + baseLoc + "plugins/TamableFoxes/foxes.db";
|
String url = "jdbc:sqlite:" + baseLoc + "plugins/Tamablefoxes/foxes.db";
|
||||||
connection = DriverManager.getConnection(url);
|
connection = DriverManager.getConnection(url);
|
||||||
|
|
||||||
//Bukkit.getConsoleSender().sendMessage(TamableFoxes.getPrefix() + "Connection to SQLite has been established.");
|
//Bukkit.getConsoleSender().sendMessage(TamableFoxes.getPrefix() + "Connection to SQLite has been established.");
|
||||||
|
|
Loading…
Reference in New Issue