mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Remove recursion in VaultResolver
Correctly call into `perms` instead of creating an infinite recursion.
This commit is contained in:
parent
10484eb58b
commit
e9fbde3ac8
@ -90,7 +90,7 @@ public class VaultResolver implements PermissionsResolver {
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(String worldName, OfflinePlayer player, String permission) {
|
||||
return hasPermission(worldName, player.getName(), permission);
|
||||
return perms.playerHas(worldName, player, permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user