You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26580,7 +26580,7 @@ index 76cb7ffad02dcc27966ca13da6552edbb696e41f..07dde7dbf4d9e1d2f61426e3f1dc3cd5
26580
26580
}
26581
26581
26582
26582
@Override
26583
-
@@ -331,16 +405,7 @@ public class ServerChunkCache extends ChunkSource {
26583
+
@@ -331,30 +405,18 @@ public class ServerChunkCache extends ChunkSource {
26584
26584
}
26585
26585
26586
26586
public boolean runDistanceManagerUpdates() { // Paper - public
@@ -26597,10 +26597,6 @@ index 76cb7ffad02dcc27966ca13da6552edbb696e41f..07dde7dbf4d9e1d2f61426e3f1dc3cd5
26597
26597
+ return ((ca.spottedleaf.moonrise.patches.chunk_system.level.ChunkSystemServerLevel)this.level).moonrise$getChunkTaskScheduler().chunkHolderManager.processTicketUpdates(); // Paper - rewrite chunk system
26598
26598
}
26599
26599
26600
-
// Paper start
26601
-
@@ -350,17 +415,14 @@ public class ServerChunkCache extends ChunkSource {
26602
-
// Paper end
26603
-
26604
26600
public boolean isPositionTicking(long pos) {
26605
26601
- if (!this.level.shouldTickBlocksAt(pos)) {
26606
26602
- return false;
@@ -26621,7 +26617,7 @@ index 76cb7ffad02dcc27966ca13da6552edbb696e41f..07dde7dbf4d9e1d2f61426e3f1dc3cd5
26621
26617
this.chunkMap.saveAllChunks(flush);
26622
26618
}
26623
26619
26624
-
@@ -371,17 +433,15 @@ public class ServerChunkCache extends ChunkSource {
26620
+
@@ -365,17 +427,15 @@ public class ServerChunkCache extends ChunkSource {
26625
26621
}
26626
26622
26627
26623
public void close(boolean save) throws IOException {
@@ -26642,15 +26638,15 @@ index 76cb7ffad02dcc27966ca13da6552edbb696e41f..07dde7dbf4d9e1d2f61426e3f1dc3cd5
@@ -406,6 +466,7 @@ public class ServerChunkCache extends ChunkSource {
26641
+
@@ -400,6 +460,7 @@ public class ServerChunkCache extends ChunkSource {
26646
26642
this.runDistanceManagerUpdates();
26647
26643
gameprofilerfiller.popPush("chunks");
26648
26644
if (tickChunks) {
26649
26645
+ ((ca.spottedleaf.moonrise.patches.chunk_system.level.ChunkSystemServerLevel)this.level).moonrise$getPlayerChunkLoader().tick(); // Paper - rewrite chunk system
26650
26646
this.tickChunks();
26651
26647
this.chunkMap.tick();
26652
26648
}
26653
-
@@ -432,7 +493,10 @@ public class ServerChunkCache extends ChunkSource {
26649
+
@@ -426,7 +487,10 @@ public class ServerChunkCache extends ChunkSource {
@@ -558,7 +558,17 @@ public class ServerChunkCache extends ChunkSource implements ca.spottedleaf.moon
43
+
@@ -552,7 +552,17 @@ public class ServerChunkCache extends ChunkSource implements ca.spottedleaf.moon
44
44
if ((this.spawnFriendlies || this.spawnEnemies) && this.level.paperConfig().entities.spawning.perPlayerMobSpawns) { // don't count mobs when animals and monsters are disabled
0 commit comments