This commit is contained in:
Michel Roux 2012-05-10 10:10:11 +02:00
parent 8dca7e2a9b
commit 971652f3ae
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ public abstract class SimplyPrevents implements Listener {
protected boolean prevent(Cancellable event, Player player, String node) {
if (node.contains(",")) {
for (String subNode : node.split(",")) {
if (!prevent(event, player, subNode)) {
return false;
if (prevent(event, player, subNode)) {
return true;
}
}
} else if (node.contains(".")) {