From 66049f852ef86bfb75c77a9d6e447dc1ff2c5245 Mon Sep 17 00:00:00 2001 From: Sleaker Date: Mon, 2 Jan 2012 10:12:09 -0800 Subject: [PATCH] playerHas(player, perm) now directly checks player.hasPermission() rather than internal permission implementations. --- src/net/milkbowl/vault/permission/Permission.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/milkbowl/vault/permission/Permission.java b/src/net/milkbowl/vault/permission/Permission.java index 17d9370..cce934e 100644 --- a/src/net/milkbowl/vault/permission/Permission.java +++ b/src/net/milkbowl/vault/permission/Permission.java @@ -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); } /**