It compiles

This commit is contained in:
Nassim Jahnke
2023-12-06 20:40:37 +01:00
parent b7ab883a24
commit 42a06e89bb
12 changed files with 58 additions and 19 deletions

View File

@@ -350,10 +350,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- if (this.level.shouldTickBlocksAt(chunkcoordintpair.toLong())) {
+ if (true || this.level.shouldTickBlocksAt(chunkcoordintpair.toLong())) { // Paper - optimise chunk tick iteration
this.level.timings.doTickTiles.startTiming(); // Spigot
this.level.tickChunk(chunk1, l);
if ((chunksTicked++ & 1) == 0) net.minecraft.server.MinecraftServer.getServer().executeMidTickTasks(); // Paper
@@ -0,0 +0,0 @@ public class ServerChunkCache extends ChunkSource {
}
}
}