From 18cd62dd6ce560e0c63fde7769160e2020da2577 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 14 Jul 2024 21:49:51 -0700 Subject: [PATCH] Slight tweak to not cause lag due to a inGenerated query --- .../bentobox/bentobox/listeners/SeedWorldMakerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/listeners/SeedWorldMakerListener.java b/src/main/java/world/bentobox/bentobox/listeners/SeedWorldMakerListener.java index 72e42adae..f1fcc13cf 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/SeedWorldMakerListener.java +++ b/src/main/java/world/bentobox/bentobox/listeners/SeedWorldMakerListener.java @@ -39,7 +39,7 @@ public class SeedWorldMakerListener implements Listener { @EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) public void onChunkLoad(ChunkLoadEvent e) { - if (!ready || !e.getChunk().isGenerated()) { + if (!ready) { return; } World world = e.getWorld();