Work on compile errors
This commit is contained in:
parent
afbb0d88dd
commit
b06e0b0317
111 changed files with 207 additions and 186 deletions
|
@ -1032,7 +1032,7 @@ index 88e98f49565a098debcea8d58368e53d7623f6b5..84ea1974445fc7be80ed474d8a2133b5
|
|||
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/level/ServerChunkCache.java b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
|
||||
index c615510f3f59292715bcff1bd9e4e896c9733436..a29598ae54d5d20740a105f81bcaec2a152fe4ba 100644
|
||||
index c615510f3f59292715bcff1bd9e4e896c9733436..93422468474189343cdc1e29f06f6dfb12e4760a 100644
|
||||
--- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java
|
||||
+++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
|
||||
@@ -207,13 +207,15 @@ public class ServerChunkCache extends ChunkSource {
|
||||
|
@ -1076,15 +1076,7 @@ index c615510f3f59292715bcff1bd9e4e896c9733436..a29598ae54d5d20740a105f81bcaec2a
|
|||
}
|
||||
|
||||
this.level.timings.doChunkUnload.startTiming(); // Spigot
|
||||
@@ -442,6 +446,7 @@ public class ServerChunkCache extends ChunkSource {
|
||||
gameprofilerfiller.pop();
|
||||
this.clearCache();
|
||||
}
|
||||
+ if (this.level.getServer().tickRateManager().runsNormally()) this.level.timings.chunkTicks.startTiming(); // Paper
|
||||
|
||||
private void tickChunks() {
|
||||
long i = this.level.getGameTime();
|
||||
@@ -481,7 +486,9 @@ public class ServerChunkCache extends ChunkSource {
|
||||
@@ -481,7 +485,9 @@ public class ServerChunkCache extends ChunkSource {
|
||||
LevelChunk chunk = playerchunk.getTickingChunk();
|
||||
|
||||
if (chunk != null) {
|
||||
|
@ -1094,7 +1086,7 @@ index c615510f3f59292715bcff1bd9e4e896c9733436..a29598ae54d5d20740a105f81bcaec2a
|
|||
}
|
||||
}
|
||||
|
||||
@@ -502,8 +509,10 @@ public class ServerChunkCache extends ChunkSource {
|
||||
@@ -502,8 +508,10 @@ public class ServerChunkCache extends ChunkSource {
|
||||
|
||||
private void tickChunks(ProfilerFiller profiler, long timeDelta, List<LevelChunk> chunks) {
|
||||
profiler.popPush("naturalSpawnCount");
|
||||
|
@ -1105,7 +1097,7 @@ index c615510f3f59292715bcff1bd9e4e896c9733436..a29598ae54d5d20740a105f81bcaec2a
|
|||
|
||||
this.lastSpawnState = spawnercreature_d;
|
||||
profiler.popPush("spawnAndTick");
|
||||
@@ -531,15 +540,17 @@ public class ServerChunkCache extends ChunkSource {
|
||||
@@ -531,15 +539,17 @@ public class ServerChunkCache extends ChunkSource {
|
||||
}
|
||||
|
||||
if (this.level.shouldTickBlocksAt(chunkcoordintpair.toLong())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue