From 7db18ce00931a0fe71e9af87bcd6137c6aef8cd3 Mon Sep 17 00:00:00 2001 From: okx-code Date: Mon, 25 Mar 2024 21:30:05 +0000 Subject: [PATCH] add world --- .../civmodcore/world/locations/chunkmeta/ChunkMetaListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/civmodcore-paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkMetaListener.java b/plugins/civmodcore-paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkMetaListener.java index 7200c2e12..1340f5b9c 100644 --- a/plugins/civmodcore-paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkMetaListener.java +++ b/plugins/civmodcore-paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkMetaListener.java @@ -54,7 +54,7 @@ public class ChunkMetaListener implements Listener { @EventHandler(priority = EventPriority.LOWEST) public void chunkUnload(ChunkUnloadEvent e) { - CHUNK_META_LOGGER.debug("Adding " + e.getChunk() + " to unload queue - length " + unloadQueue.size()); + CHUNK_META_LOGGER.debug("World " + CivModCorePlugin.getInstance().getWorldIdManager().getInternalWorldId(e.getWorld()) + ": Adding " + e.getChunk() + " to unload queue - length " + unloadQueue.size()); unloadQueue.add(e.getChunk()); viewTracker.applyToAllSingleBlockViews(s -> s.handleChunkUnload(e.getChunk())); }