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

This commit is contained in:
Doc 2024-10-10 07:56:26 +11:00 committed by md_5
parent ded1836741
commit f4d957fffd
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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