diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-04-01 16:52:00 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-04-01 16:52:00 +0100 |
commit | d5096a019387ce84154c811057fdaf23b6ba23f9 (patch) | |
tree | d0da659024a7439deaf1d8901d32bad3f7c3c742 /src/main/java/org/bukkit | |
parent | 12b2d5ee1d514b5b74ee391e13921cf84e829e02 (diff) | |
download | craftbukkit-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.java | 2 |
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"); |