Remove redundant config option

This commit is contained in:
Luck committed 2016-10-27 18:48:38 +01:00
1 parent 7acc8bc7ed
commit 66f756575a
12 files changed
+12 -28

No files matched your search

@@ -48,6 +48,6 @@ public class SpongeCalculatorFactory implements CalculatorFactory {
}
processors.add(new DefaultsProcessor(plugin.getService(), LuckPermsService.convertContexts(contexts.getContexts())));
return new PermissionCalculator(plugin, user.getName(), plugin.getConfiguration().isDebugPermissionChecks(), processors.build());
return new PermissionCalculator(plugin, user.getName(), processors.build());
}
}
@@ -80,10 +80,6 @@ public class UserCollection implements SubjectCollection {
return s.get();
}
if (service.getPlugin().getConfiguration().isDebugPermissionChecks()) {
service.getPlugin().getLog().warn("Couldn't get user subject for: " + id);
}
// Fallback to the other collection. This Subject instance will never be persisted.
return fallback.get(id);
}