geforkt von Mirrors/Paper
WorldCreator#keepSpawnLoaded
Dieser Commit ist enthalten in:
Ursprung
bc02501cc2
Commit
2bf4b6e53d
@ -1328,7 +1328,7 @@ public final class CraftServer implements Server {
|
||||
}
|
||||
|
||||
// If set to not keep spawn in memory (changed from default) then adjust rule accordingly
|
||||
if (!creator.keepSpawnInMemory()) {
|
||||
if (creator.keepSpawnLoaded() == net.kyori.adventure.util.TriState.FALSE) { // Paper
|
||||
worlddata.getGameRules().getRule(GameRules.RULE_SPAWN_CHUNK_RADIUS).set(0, null);
|
||||
}
|
||||
ServerLevel internal = (ServerLevel) new ServerLevel(this.console, this.console.executor, worldSession, worlddata, worldKey, worlddimension, this.getServer().progressListenerFactory.create(worlddata.getGameRules().getInt(GameRules.RULE_SPAWN_CHUNK_RADIUS)),
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren