From 46bc9963fa7e1caa1dc6b21759f819e6019452b9 Mon Sep 17 00:00:00 2001 From: Xefir Date: Sun, 13 May 2012 17:39:48 +0200 Subject: [PATCH] Small bugfix, target 1.7.2 --- src/net/crystalyx/bukkit/simplyperms/SimplyPlugin.java | 3 +-- src/plugin.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/net/crystalyx/bukkit/simplyperms/SimplyPlugin.java b/src/net/crystalyx/bukkit/simplyperms/SimplyPlugin.java index bea4662..3f97ebf 100755 --- a/src/net/crystalyx/bukkit/simplyperms/SimplyPlugin.java +++ b/src/net/crystalyx/bukkit/simplyperms/SimplyPlugin.java @@ -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; diff --git a/src/plugin.yml b/src/plugin.yml index 9e2a211..c7646c5 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -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: