From 3e63afa5f589dcafdb59b5a73d73d2e5fc992fc1 Mon Sep 17 00:00:00 2001 From: JozsefA Date: Thu, 18 Feb 2021 14:00:17 -0800 Subject: [PATCH] fix concurrent modification --- .../render/backend/instancing/InstancedTileRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java b/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java index 055e5dac7..4f22c016f 100644 --- a/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java +++ b/src/main/java/com/simibubi/create/foundation/render/backend/instancing/InstancedTileRenderer.java @@ -136,7 +136,7 @@ public abstract class InstancedTileRenderer

{ } public void clean() { - instances.keySet().stream().filter(TileEntity::isRemoved).forEach(instances::remove); + instances.keySet().removeIf(TileEntity::isRemoved); } public void invalidate() {