From a1ea62ee7f3484887a39809d28585160c389c5e1 Mon Sep 17 00:00:00 2001 From: Xefir Date: Wed, 9 May 2012 14:47:08 +0200 Subject: [PATCH] * node bug fix --- src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java b/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java index c1a7fa5..7526cad 100755 --- a/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java +++ b/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java @@ -81,10 +81,7 @@ public abstract class SimplyPrevents implements Listener { } protected boolean prevent(Cancellable event, Player player, String node) { - if (player.isPermissionSet("permissions.allow.*") - && player.hasPermission("permissions.allow.*")) { - return false; - } else if (node.contains(",")) { + if (node.contains(",")) { for (String subNode : node.split(",")) { if (prevent(event, player, subNode)) { return true;