From 0eea491f9d1d16be62b194b67a94ad9759992494 Mon Sep 17 00:00:00 2001 From: themode Date: Fri, 26 Mar 2021 08:52:16 +0100 Subject: [PATCH] Fix intellij warning --- src/main/java/net/minestom/server/utils/entity/EntityUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/utils/entity/EntityUtils.java b/src/main/java/net/minestom/server/utils/entity/EntityUtils.java index c8fd52ad4..879164a3b 100644 --- a/src/main/java/net/minestom/server/utils/entity/EntityUtils.java +++ b/src/main/java/net/minestom/server/utils/entity/EntityUtils.java @@ -29,7 +29,7 @@ public final class EntityUtils { final Chunk chunk = instance.getChunk(chunkX, chunkZ); if (chunk == null) continue; - instance.getChunkEntities(chunk).forEach(consumer::accept); + instance.getChunkEntities(chunk).forEach(consumer); } }