mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 08:27:03 +01:00
fix concurrent modification
This commit is contained in:
parent
d59fea1079
commit
3e63afa5f5
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ public abstract class InstancedTileRenderer<P extends BasicProgram> {
|
|||
}
|
||||
|
||||
public void clean() {
|
||||
instances.keySet().stream().filter(TileEntity::isRemoved).forEach(instances::remove);
|
||||
instances.keySet().removeIf(TileEntity::isRemoved);
|
||||
}
|
||||
|
||||
public void invalidate() {
|
||||
|
|
Loading…
Reference in a new issue