Small getBoolean corrections
This commit is contained in:
parent
de0492e0c1
commit
de1fca795f
@ -23,7 +23,7 @@ public class ImportPermBukkit extends SimplyAPI implements ImportManager {
|
||||
public void run() throws Exception {
|
||||
try {
|
||||
permBukkit.load("plugins/PermissionsBukkit/config.yml");
|
||||
plugin.getConfig().set("debug", permBukkit.getBoolean("debug"));
|
||||
setDebug(permBukkit.getBoolean("debug"));
|
||||
addMessage("build", permBukkit.getString("messages/build"));
|
||||
|
||||
for (String player : plugin.getKeys(permBukkit, "users")) {
|
||||
|
@ -20,7 +20,7 @@ public class ImportPermEx extends SimplyAPI implements ImportManager {
|
||||
public void run() throws Exception {
|
||||
try {
|
||||
permEx.load("plugins/PermissionsEx/config.yml");
|
||||
plugin.getConfig().set("debug", permEx.getBoolean("permissions.debug"));
|
||||
setDebug(permEx.getBoolean("permissions.debug"));
|
||||
permEx.load("plugins/PermissionsEx/" + permEx.getString("permissions.backends.file.file"));
|
||||
|
||||
for (String player : plugin.getKeys(permEx, "users")) {
|
||||
|
@ -21,7 +21,7 @@ public class ImportPrivileges extends SimplyAPI implements ImportManager {
|
||||
try {
|
||||
privileges.load("plugins/Privileges/config.yml");
|
||||
setDefaultGroup(privileges.getString("default_group"));
|
||||
plugin.getConfig().set("debug", privileges.getBoolean("debug"));
|
||||
setDebug(privileges.getBoolean("debug"));
|
||||
|
||||
privileges.load("plugins/Privileges/users.yml");
|
||||
for (String player : plugin.getKeys(privileges, "users")) {
|
||||
|
Loading…
Reference in New Issue
Block a user