mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 18:04:26 +00:00
Remove redundant config option
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user