From 2af150c1f00aaad29dabf50964ae6a4429c2878e Mon Sep 17 00:00:00 2001 From: TheMode Date: Mon, 21 Jun 2021 21:33:37 +0200 Subject: [PATCH] Forget anvil chunk after load --- src/main/java/net/minestom/server/instance/AnvilLoader.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/minestom/server/instance/AnvilLoader.java b/src/main/java/net/minestom/server/instance/AnvilLoader.java index e25170178..8335871c5 100644 --- a/src/main/java/net/minestom/server/instance/AnvilLoader.java +++ b/src/main/java/net/minestom/server/instance/AnvilLoader.java @@ -96,6 +96,9 @@ public class AnvilLoader implements IChunkLoader { if (callback != null) { callback.accept(chunk); } + + mcaFile.forget(fileChunk); + return chunk; }