testserver/Spigot-Server-Patches/0160-Re-add-tileEntityTick....

22 lines
905 B
Diff
Raw Normal View History

2016-06-15 22:43:51 +00:00
From cb654874d86e9cd0215054ea3014255a7d37907c Mon Sep 17 00:00:00 2001
2016-05-28 02:29:09 +00:00
From: Aikar <aikar@aikar.co>
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
2016-06-15 22:43:51 +00:00
index 38a3692..3d80107 100644
2016-05-28 02:29:09 +00:00
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
2016-06-09 03:57:14 +00:00
@@ -1554,6 +1554,7 @@ public abstract class World implements IBlockAccess {
2016-05-28 02:29:09 +00:00
timings.entityTick.stopTiming(); // Spigot
this.methodProfiler.c("blockEntities");
+ timings.tileEntityTick.startTiming(); // Paper - Missed Timing start from Spigot
this.M = true;
2016-06-15 22:43:51 +00:00
timings.tileEntityTick.startTiming(); // Spigot
2016-05-28 02:29:09 +00:00
// CraftBukkit start - From below, clean up tile entities before ticking them
--
2016-06-15 22:43:51 +00:00
2.8.3.windows.1
2016-05-28 02:29:09 +00:00