2016-06-11 19:58:54 +00:00
|
|
|
From 97887d847a6c09b29387a3cb9c71ecfcfc9497b8 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-09 03:57:14 +00:00
|
|
|
index 8d99b83..9f4b823 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;
|
|
|
|
// CraftBukkit start - From below, clean up tile entities before ticking them
|
|
|
|
if (!this.tileEntityListUnload.isEmpty()) {
|
|
|
|
--
|
2016-05-30 16:50:57 +00:00
|
|
|
2.8.3
|
2016-05-28 02:29:09 +00:00
|
|
|
|