From 4b2212247d501c89f7e4d98c6f17819632ff6e23 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 5 Mar 2016 16:38:55 +1100 Subject: [PATCH] Correct syncChunkLoadPostTimer stop position. --- CraftBukkit-Patches/0010-Spigot-Timings.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CraftBukkit-Patches/0010-Spigot-Timings.patch b/CraftBukkit-Patches/0010-Spigot-Timings.patch index 948182f93..77a5029a4 100644 --- a/CraftBukkit-Patches/0010-Spigot-Timings.patch +++ b/CraftBukkit-Patches/0010-Spigot-Timings.patch @@ -1,4 +1,4 @@ -From 75bae478c72d0bb8d5394543a622b11f89604f45 Mon Sep 17 00:00:00 2001 +From ec2afa95dfc360d1ec483bfbedcab6e049d9e7a8 Mon Sep 17 00:00:00 2001 From: Aikar 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