Inject PermissibleBase instead of using attachments. Resolves #14

This commit is contained in:
Luck
2016-09-11 11:50:59 +01:00
Unverified
parent b8f44df723
commit 9df39a9545
7 changed files with 432 additions and 60 deletions
@@ -111,6 +111,10 @@ public abstract class LPConfiguration<T extends LuckPermsPlugin> {
return getBoolean("log-notify", true);
}
public boolean getDebugPermissionChecks() {
return getBoolean("debug-permission-checks", false);
}
public boolean getEnableOps() {
return !getAutoOp() && getBoolean("enable-ops", true);
}