mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-25 12:06:17 +01:00
8afbae50fb
So the list that is being filtered is immutable, hence doesn't work with in conjunction with removeIf. There are two solutions, either - stream it (which I've done in this PR) OR - create a new ArrayList each time for filtering since that is mutable |
||
---|---|---|
.. | ||
src/main | ||
build.gradle |