mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 08:42:53 +08:00
remove log
This commit is contained in:
parent
855a098aa7
commit
4f553f6694
@ -150,12 +150,7 @@ public class Account {
|
|||||||
|
|
||||||
String[] permissionParts = permission.split("\\.");
|
String[] permissionParts = permission.split("\\.");
|
||||||
for (String p : this.permissions) {
|
for (String p : this.permissions) {
|
||||||
|
if (p.startsWith("-") && permissionMatchesWildcard(p.substring(1), permissionParts)) return false;
|
||||||
if (p.startsWith("-") && permissionMatchesWildcard(p.substring(1), permissionParts)) {
|
|
||||||
Grasscutter.getLogger().info("Permission " + permission + " denied to " + this.username);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (permissionMatchesWildcard(p, permissionParts)) return true;
|
if (permissionMatchesWildcard(p, permissionParts)) return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user