Fix erroneuous entity count reporting in timings

This commit is contained in:
Spottedleaf 2020-07-14 11:58:55 +01:00
parent 082c64bffc
commit c9d30bb9c0

View file

@ -1686,14 +1686,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
timings.doSounds.startTiming(); // Spigot
this.ah();
@@ -0,0 +0,0 @@ public class WorldServer extends World implements GeneratorAccessSeed {
org.spigotmc.ActivationRange.activateEntities(this); // Spigot
timings.entityTick.startTiming(); // Spigot
+ TimingHistory.entityTicks += this.entitiesById.size(); // Paper
while (objectiterator.hasNext()) {
Entry<Entity> entry = (Entry) objectiterator.next();
Entity entity = (Entity) entry.getValue();
@@ -0,0 +0,0 @@ public class WorldServer extends World implements GeneratorAccessSeed {
}
gameprofilerfiller.exitEnter("tickBlocks");