Timings changes (#3044)
* Timings changes - Increment entity tick count only when an entity ticks - Remove chunk inhabited timer - Try finally entity timings * Add activated entity ticks Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 85a4e1989ff00a6ab9e60fa579668fd022f752f1 Mon Sep 17 00:00:00 2001
|
||||
From eb19fb35a1fda6531c127beafb36cb5098174202 Mon Sep 17 00:00:00 2001
|
||||
From: Byteflux <byte@byteflux.net>
|
||||
Date: Tue, 1 Mar 2016 23:45:08 -0600
|
||||
Subject: [PATCH] Entity Origin API
|
||||
@@ -101,10 +101,10 @@ index 5406f4c40f..d778eac45d 100644
|
||||
if (i >= 0 && i < this.list.size()) {
|
||||
NBTBase nbtbase = (NBTBase) this.list.get(i);
|
||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
index 069898bad7..ce9bad42f8 100644
|
||||
index 6810d49b17..450b414298 100644
|
||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
@@ -1176,6 +1176,11 @@ public class WorldServer extends World {
|
||||
@@ -1180,6 +1180,11 @@ public class WorldServer extends World {
|
||||
this.navigators.add(((EntityInsentient) entity).getNavigation());
|
||||
}
|
||||
entity.valid = true; // CraftBukkit
|
||||
@@ -134,5 +134,5 @@ index c82c213260..a296936748 100644
|
||||
+ // Paper end
|
||||
}
|
||||
--
|
||||
2.25.0
|
||||
2.25.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user