Correct syncChunkLoadPostTimer stop position.
This commit is contained in:
parent
417017308c
commit
4b2212247d
|
@ -1,4 +1,4 @@
|
|||
From 75bae478c72d0bb8d5394543a622b11f89604f45 Mon Sep 17 00:00:00 2001
|
||||
From ec2afa95dfc360d1ec483bfbedcab6e049d9e7a8 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Thu, 10 Jan 2013 00:18:11 -0500
|
||||
Subject: [PATCH] Spigot Timings
|
||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Spigot Timings
|
|||
Overhauls the Timings System adding performance tracking all around the Minecraft Server
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
|
||||
index 582e684..8345e87 100644
|
||||
index 582e684..7980e80 100644
|
||||
--- a/src/main/java/net/minecraft/server/Chunk.java
|
||||
+++ b/src/main/java/net/minecraft/server/Chunk.java
|
||||
@@ -834,6 +834,7 @@ public class Chunk {
|
||||
|
@ -17,14 +17,14 @@ index 582e684..8345e87 100644
|
|||
Chunk chunk = ichunkprovider.getLoadedChunkAt(this.locX, this.locZ - 1);
|
||||
Chunk chunk1 = ichunkprovider.getLoadedChunkAt(this.locX + 1, this.locZ);
|
||||
Chunk chunk2 = ichunkprovider.getLoadedChunkAt(this.locX, this.locZ + 1);
|
||||
@@ -895,6 +896,7 @@ public class Chunk {
|
||||
this.e();
|
||||
@@ -858,6 +859,7 @@ public class Chunk {
|
||||
chunk4.a(chunkgenerator);
|
||||
}
|
||||
}
|
||||
|
||||
+ world.timings.syncChunkLoadPostTimer.stopTiming(); // Spigot
|
||||
|
||||
}
|
||||
|
||||
public BlockPosition f(BlockPosition blockposition) {
|
||||
diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java
|
||||
index 01729cb..780919a 100644
|
||||
--- a/src/main/java/net/minecraft/server/ChunkProviderServer.java
|
||||
|
|
Loading…
Reference in New Issue