mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Silence subject load errors unless debug-permission-checks is true
This commit is contained in:
parent
41744f9416
commit
becdfd6f03
@ -95,7 +95,9 @@ public class UserCollection implements SubjectCollection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service.getPlugin().getLog().warn("Couldn't get subject for: " + id);
|
if (service.getPlugin().getConfiguration().isDebugPermissionChecks()) {
|
||||||
|
service.getPlugin().getLog().warn("Couldn't get user subject for: " + id);
|
||||||
|
}
|
||||||
|
|
||||||
// What am I meant to do here? What if no user is loaded? Load it? Create it?
|
// What am I meant to do here? What if no user is loaded? Load it? Create it?
|
||||||
// If I do load/create it, this method should always be called async??.... errr.
|
// If I do load/create it, this method should always be called async??.... errr.
|
||||||
|
Loading…
Reference in New Issue
Block a user