mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:45:10 +01:00
fix concurrent modification
This commit is contained in:
parent
d59fea1079
commit
3e63afa5f5
@ -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 New Issue
Block a user