geforkt von Mirrors/FastAsyncWorldEdit
Remove recursion in VaultResolver
Correctly call into `perms` instead of creating an infinite recursion.
Dieser Commit ist enthalten in:
Ursprung
10484eb58b
Commit
e9fbde3ac8
@ -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