From 3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 21 Sep 2012 19:53:20 +1000 Subject: [PATCH] Check for explicit * permission when using PEX. --- .../src/com/earth2me/essentials/perm/PermissionsExHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java index 68dc3fe50..565342e98 100644 --- a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java +++ b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java @@ -66,7 +66,7 @@ public class PermissionsExHandler extends SuperpermsHandler @Override public boolean hasPermission(final Player base, final String node) { - return super.hasPermission(base, node); + return base.hasPermission("*") || super.hasPermission(base, node); } @Override