mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-10 21:01:03 +01:00
playerHas(player, perm) now directly checks player.hasPermission()
rather than internal permission implementations.
This commit is contained in:
parent
7a80c18f09
commit
66049f852e
@ -126,7 +126,7 @@ public abstract class Permission {
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerHas(Player player, String permission) {
|
||||
return playerHas(player.getWorld().getName(), player.getName(), permission);
|
||||
return has(player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user