From d5096a019387ce84154c811057fdaf23b6ba23f9 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Fri, 1 Apr 2011 16:52:00 +0100 Subject: [PATCH] Changed default database location to {NAME}.db instead of database.db --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 157e18999d..90a7217a97 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/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");