From d9971432c2cec5d9aeb429c6a0f59558df0867de Mon Sep 17 00:00:00 2001 From: Aikar Date: Fri, 27 May 2016 22:29:09 -0400 Subject: [PATCH] re-add timing that spigot missed --- ...ntityTick.startTiming-Spigot-removed.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Spigot-Server-Patches/Re-add-tileEntityTick.startTiming-Spigot-removed.patch diff --git a/Spigot-Server-Patches/Re-add-tileEntityTick.startTiming-Spigot-removed.patch b/Spigot-Server-Patches/Re-add-tileEntityTick.startTiming-Spigot-removed.patch new file mode 100644 index 0000000000..35daf564c9 --- /dev/null +++ b/Spigot-Server-Patches/Re-add-tileEntityTick.startTiming-Spigot-removed.patch @@ -0,0 +1,21 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aikar +Date: Fri, 27 May 2016 22:06:35 -0400 +Subject: [PATCH] Re-add tileEntityTick.startTiming Spigot removed + + +diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/World.java ++++ b/src/main/java/net/minecraft/server/World.java +@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { + + timings.entityTick.stopTiming(); // Spigot + this.methodProfiler.c("blockEntities"); ++ timings.tileEntityTick.startTiming(); // Paper - Missed Timing start from Spigot + this.M = true; + // CraftBukkit start - From below, clean up tile entities before ticking them + if (!this.tileEntityListUnload.isEmpty()) { +-- +2.7.4 (Apple Git-66) +