Skip to content

Commit

Permalink
Allow empty lists in commands
Browse files Browse the repository at this point in the history
narrate t:li@, give li@, whatever.
  • Loading branch information
mcmonkey4eva committed Oct 13, 2014
1 parent 16329f0 commit bcdf6cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/aufdemrand/denizen/objects/dList.java
Expand Up @@ -261,8 +261,7 @@ public <T extends dObject> List<T> filter(Class<T> dClass, ScriptEntry entry) {
}
}

if (results.size() > 0) return results;
else return null;
return results;
}


Expand Down

0 comments on commit bcdf6cf

Please sign in to comment.