From 7be65720258a651fbd01e3e6b28431af8113da6a Mon Sep 17 00:00:00 2001 From: mung3r Date: Sun, 23 Oct 2011 00:08:37 -0700 Subject: [PATCH] calling pex has method via instance instead of static appears to keep compatibility with both 1.15 and 1.15.1 --- .../vault/permission/plugins/Permission_PermissionsEx.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java index 2d351b5..41f5647 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java @@ -82,7 +82,7 @@ public class Permission_PermissionsEx extends Permission { @Override public boolean playerHas(Player player, String permission) { - return PermissionsEx.has(player, permission); + return this.permission.has(player, permission); } @Override