Small bugfix, target 1.7.2

This commit is contained in:
Michel Roux 2012-05-13 17:39:48 +02:00
parent 63fae3590f
commit 46bc9963fa
2 changed files with 2 additions and 3 deletions

View File

@ -92,8 +92,7 @@ public class SimplyPlugin extends JavaPlugin {
}
private void initDatabase() {
if (getConfig().getString("db/type") != null
&& !getConfig().getString("db/type").equals("file")) {
if (!getConfig().getString("db/type", "file").equals("file")) {
ConfigSQL configsql = new ConfigSQL(this);
if (configsql.checkDatabase()) {
config = configsql;

View File

@ -2,7 +2,7 @@ name: SimplyPerms
main: net.crystalyx.bukkit.simplyperms.SimplyPlugin
author: Xefir Destiny
website: http://dev.bukkit.org/server-mods/simplyperms/
version: 1.7.1
version: 1.7.2
dscription: When powerful plugin made Permissions easy !
softdepend: [ PermissionsBukkit ]
commands: