3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +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
Ursprung 7ad181f8a4
Commit b192466ce2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 5D200B325E157A81

Datei anzeigen

@ -90,7 +90,7 @@ public class VaultResolver implements PermissionsResolver {
@Override @Override
public boolean hasPermission(String worldName, OfflinePlayer player, String permission) { public boolean hasPermission(String worldName, OfflinePlayer player, String permission) {
return hasPermission(worldName, player.getName(), permission); return perms.playerHas(worldName, player, permission);
} }
@Override @Override