Small bugfix, target 1.7.2
This commit is contained in:
parent
63fae3590f
commit
46bc9963fa
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user