playerHas(player, perm) now directly checks player.hasPermission()

rather than internal permission implementations.
This commit is contained in:
Sleaker 2012-01-02 10:12:09 -08:00
parent 7a80c18f09
commit 66049f852e

View File

@ -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);
}
/**