3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Remove recursion in VaultResolver

Correctly call into `perms` instead of creating an infinite recursion.
Dieser Commit ist enthalten in:
Kenzie Togami 2018-11-30 13:15:05 -08:00 committet von IronApollo
Ursprung 10484eb58b
Commit e9fbde3ac8

Datei anzeigen

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