mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
re-add timing that spigot missed
This commit is contained in:
parent
e9c7cca230
commit
d9971432c2
1 changed files with 21 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
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
|
||||||
|
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)
|
||||||
|
|
Loading…
Reference in a new issue