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:
Fabrizio La Rosa 2020-06-16 21:05:01 +02:00
parent efdbe9d01f
commit b181babdd4

View File

@ -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 {