SPIGOT-7915: Fix World#getKeepSpawnInMemory() using Spawn Radius rather than Spawn Chunk Radius

By: Doc <nachito94@msn.com>
This commit is contained in:
CraftBukkit/Spigot 2024-10-10 07:56:26 +11:00
parent 7be855108f
commit c8344ab49d

View file

@ -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