mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 03:00:29 +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();
|
BasicPermission permission = wrapper.getPermission();
|
||||||
|
|
||||||
if (permission.overridingCheck() || hasPermission(player, island, permission))
|
if (permission.overridingCheck() && hasPermission(player, island, permission))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user