Changed default database location to {NAME}.db instead of database.db

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-04-01 16:52:00 +01:00
parent 57d84a1582
commit 7deee386c8

View File

@ -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");