From c8344ab49d9820ea9bb1007937a5f601452dfa60 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 10 Oct 2024 07:56:26 +1100 Subject: [PATCH] SPIGOT-7915: Fix World#getKeepSpawnInMemory() using Spawn Radius rather than Spawn Chunk Radius By: Doc --- .../src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index eb6369ca72..f851cdf66b 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1343,7 +1343,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public boolean getKeepSpawnInMemory() { - return getGameRuleValue(GameRule.SPAWN_RADIUS) > 0; + return getGameRuleValue(GameRule.SPAWN_CHUNK_RADIUS) > 0; } @Override