Permalink
Browse files

Fixed an issue where the list command wouldn't always apply the name …

…filter correctly
  • Loading branch information...
DarkArc committed Aug 26, 2014
1 parent 71eb39d commit e472d27a174d16289ede4f72e978a2e8fc64ca26
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/commandbook/OnlineListComponent.java
@@ -265,7 +265,7 @@ public void who(CommandContext args, CommandSender sender) throws CommandExcepti
for (Player player : online) {
// Process the filter
if (!player.getName().toLowerCase().contains(filter)) {
- break;
+ continue;
}
if (!first) {

0 comments on commit e472d27

Please sign in to comment.