diff options
author | Aikar <[email protected]> | 2016-05-27 22:29:09 -0400 |
---|---|---|
committer | Aikar <[email protected]> | 2016-05-27 22:29:09 -0400 |
commit | a8d326f36728c51d1a42a8ad178f61eeac9e537d (patch) | |
tree | 82565ccb3dff1901642991166165ca2d5da46945 | |
parent | dfd19063f972b3542721e8a5328eb2342f9559d2 (diff) | |
download | Paper-a8d326f36728c51d1a42a8ad178f61eeac9e537d.tar.gz Paper-a8d326f36728c51d1a42a8ad178f61eeac9e537d.zip |
re-add timing that spigot missed
-rw-r--r-- | Spigot-Server-Patches/0161-Re-add-tileEntityTick.startTiming-Spigot-removed.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0161-Re-add-tileEntityTick.startTiming-Spigot-removed.patch b/Spigot-Server-Patches/0161-Re-add-tileEntityTick.startTiming-Spigot-removed.patch new file mode 100644 index 0000000000..4ee7ec462a --- /dev/null +++ b/Spigot-Server-Patches/0161-Re-add-tileEntityTick.startTiming-Spigot-removed.patch @@ -0,0 +1,21 @@ +From f41a7edf31033827edd67f09a3edab331d5c9837 Mon Sep 17 00:00:00 2001 +From: Aikar <[email protected]> +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 6c67062..e70aa8e 100644 +--- a/src/main/java/net/minecraft/server/World.java ++++ b/src/main/java/net/minecraft/server/World.java +@@ -1551,6 +1551,7 @@ 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) + |