Skip to content

Commit

Permalink
patch dList#addAll
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 25, 2018
1 parent fb7ed99 commit bcdb60b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/net/aufdemrand/denizencore/objects/dList.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ public boolean add(String addMe) {
return super.add(addMe);
}

@Override
public boolean addAll(Collection<? extends String> addMe) {
for (String str : addMe) {
add(str);
}
return !addMe.isEmpty();
}

@Override
public String remove(int index) {
objectForms.remove(index);
Expand Down

0 comments on commit bcdb60b

Please sign in to comment.