Skip to content

Commit

Permalink
Fixed logic error in blocked-cmds checkings.
Browse files Browse the repository at this point in the history
Closes WORLDGUARD-3048.
  • Loading branch information
wizjany committed Apr 26, 2014
1 parent 4422d53 commit ff46c2c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -1482,6 +1482,9 @@ public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
continue;
}
}
} else {
// found non-matching part, stop checking
break blocked;
}
}
}
Expand Down

0 comments on commit ff46c2c

Please sign in to comment.