Commit 4f553f66 authored by muhammadeko's avatar muhammadeko Committed by Melledy
Browse files

remove log

parent 855a098a
...@@ -150,12 +150,7 @@ public class Account { ...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment