geforkt von Mirrors/FastAsyncWorldEdit
Remove recursion in VaultResolver
Correctly call into `perms` instead of creating an infinite recursion.
Dieser Commit ist enthalten in:
Ursprung
7ad181f8a4
Commit
b192466ce2
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren