remove system property for book size limits
"It was from a different time before books were as jank as they are now. As time has gone on they've only proven to be worse and worse."
This commit is contained in:
parent
2cbdb174b7
commit
4104545b11
578 changed files with 214 additions and 212 deletions
|
@ -1,19 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Beech Horn <beechhorn@gmail.com>
|
||||
Date: Fri, 14 Feb 2020 19:39:59 +0000
|
||||
Subject: [PATCH] Skip distance map update when spawning disabled.
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/level/ServerChunkCache.java b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
|
||||
index c0bbb1acd7d83a70c9f2c34f7d19cea0039e0567..570875c060896c80d8c75e86e29a918f86b5865f 100644
|
||||
--- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java
|
||||
+++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
|
||||
@@ -811,7 +811,7 @@ public class ServerChunkCache extends ChunkSource {
|
||||
int l = this.distanceManager.getNaturalSpawnChunkCount();
|
||||
// Paper start - per player mob spawning
|
||||
NaturalSpawner.SpawnState spawnercreature_d; // moved down
|
||||
- if (this.chunkMap.playerMobDistanceMap != null) {
|
||||
+ if ((this.spawnFriendlies || this.spawnEnemies) && this.chunkMap.playerMobDistanceMap != null) { // don't update when animals and monsters are disabled
|
||||
// update distance map
|
||||
this.level.timings.playerMobDistanceMapUpdate.startTiming();
|
||||
this.chunkMap.playerMobDistanceMap.update(this.level.players, this.chunkMap.viewDistance);
|
Loading…
Add table
Add a link
Reference in a new issue