Don't print spawn load time when not loading spawn (#5467)
This commit is contained in:
@@ -74,6 +74,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
WorldServer worldserver1 = worldserver;
|
WorldServer worldserver1 = worldserver;
|
||||||
|
@@ -0,0 +0,0 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
|
// this.nextTick = SystemUtils.getMonotonicMillis() + 10L;
|
||||||
|
this.executeModerately();
|
||||||
|
// CraftBukkit end
|
||||||
|
- worldloadlistener.b();
|
||||||
|
+ if (worldserver.getWorld().getKeepSpawnInMemory()) worldloadlistener.b(); // Paper
|
||||||
|
chunkproviderserver.getLightEngine().a(5);
|
||||||
|
// CraftBukkit start
|
||||||
|
// this.updateSpawnFlags();
|
||||||
diff --git a/src/main/java/net/minecraft/server/level/WorldServer.java b/src/main/java/net/minecraft/server/level/WorldServer.java
|
diff --git a/src/main/java/net/minecraft/server/level/WorldServer.java b/src/main/java/net/minecraft/server/level/WorldServer.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/server/level/WorldServer.java
|
--- a/src/main/java/net/minecraft/server/level/WorldServer.java
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
@@ -0,0 +0,0 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
@@ -0,0 +0,0 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
||||||
this.executeModerately();
|
this.executeModerately();
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
worldloadlistener.b();
|
if (worldserver.getWorld().getKeepSpawnInMemory()) worldloadlistener.b(); // Paper
|
||||||
- chunkproviderserver.getLightEngine().a(5);
|
- chunkproviderserver.getLightEngine().a(5);
|
||||||
+ chunkproviderserver.getLightEngine().a(worldserver.paperConfig.lightQueueSize); // Paper - increase light queue size
|
+ chunkproviderserver.getLightEngine().a(worldserver.paperConfig.lightQueueSize); // Paper - increase light queue size
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
|
|||||||
Reference in New Issue
Block a user