summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-04-01 16:52:00 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-04-01 16:52:00 +0100
commitd5096a019387ce84154c811057fdaf23b6ba23f9 (patch)
treed0da659024a7439deaf1d8901d32bad3f7c3c742 /src/main/java/org/bukkit
parent12b2d5ee1d514b5b74ee391e13921cf84e829e02 (diff)
downloadcraftbukkit-d5096a019387ce84154c811057fdaf23b6ba23f9.tar
craftbukkit-d5096a019387ce84154c811057fdaf23b6ba23f9.tar.gz
craftbukkit-d5096a019387ce84154c811057fdaf23b6ba23f9.tar.lz
craftbukkit-d5096a019387ce84154c811057fdaf23b6ba23f9.tar.xz
craftbukkit-d5096a019387ce84154c811057fdaf23b6ba23f9.zip
Changed default database location to {NAME}.db instead of database.db
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 157e1899..90a7217a 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");