mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
SPIGOT-7915: Fix World#getKeepSpawnInMemory() using Spawn Radius rather than Spawn Chunk Radius
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
7be855108f
commit
c8344ab49d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue