Update EntityGroup.java (#8802)

This commit is contained in:
Даркнесс#3729
2023-07-23 23:26:17 +03:00
committed by GitHub
parent cc8d2b6a0c
commit b272008a90

View File

@@ -84,6 +84,10 @@ public class EntityGroup<T extends Entityc> implements Iterable<T>{
}
}
public Seq<T> copy(){
return copy(new Seq<>());
}
public Seq<T> copy(Seq<T> arr){
arr.addAll(array);
return arr;