From 7deee386c8fc23c863bc3b7177d65735d4c3dbbe Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 1 Apr 2011 16:52:00 +0100 Subject: [PATCH] Changed default database location to {NAME}.db instead of database.db By: Dinnerbone --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 157e18999..90a7217a9 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -67,7 +67,7 @@ public final class CraftServer implements Server { } private void loadConfigDefaults() { - configuration.getString("database.url", "jdbc:sqlite:{DIR}database.db"); + configuration.getString("database.url", "jdbc:sqlite:{DIR}{NAME}.db"); configuration.getString("database.username", "bukkit"); configuration.getString("database.password", "walrus"); configuration.getString("database.driver", "org.sqlite.JDBC");