mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-27 12:45:25 +01:00
Fix for permission check
We should have both true, because overridingCheck() is usually true also when we don't have permission
This commit is contained in:
parent
efdbe9d01f
commit
b181babdd4
@ -152,7 +152,7 @@ public class PermissionManager {
|
||||
|
||||
BasicPermission permission = wrapper.getPermission();
|
||||
|
||||
if (permission.overridingCheck() || hasPermission(player, island, permission))
|
||||
if (permission.overridingCheck() && hasPermission(player, island, permission))
|
||||
continue;
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user