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() { private void initDatabase() {
if (getConfig().getString("db/type") != null if (!getConfig().getString("db/type", "file").equals("file")) {
&& !getConfig().getString("db/type").equals("file")) {
ConfigSQL configsql = new ConfigSQL(this); ConfigSQL configsql = new ConfigSQL(this);
if (configsql.checkDatabase()) { if (configsql.checkDatabase()) {
config = configsql; config = configsql;

View File

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