Fix timings diff

This commit is contained in:
Nassim Jahnke 2022-07-27 21:22:02 +02:00
parent 8bf425f456
commit d45c7916e1

View File

@ -1446,18 +1446,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.updatingUsingItem(); this.updatingUsingItem();
this.updateSwimAmount(); this.updateSwimAmount();
@@ -0,0 +0,0 @@ public abstract class LivingEntity extends Entity { @@ -0,0 +0,0 @@ public abstract class LivingEntity extends Entity {
}
} }
- if (!this.isRemoved()) { if (!this.isRemoved()) {
- SpigotTimings.timerEntityBaseTick.stopTiming(); // Spigot - SpigotTimings.timerEntityBaseTick.stopTiming(); // Spigot
- this.aiStep(); this.aiStep();
- SpigotTimings.timerEntityTickRest.startTiming(); // Spigot - SpigotTimings.timerEntityTickRest.startTiming(); // Spigot
- } }
-
double d0 = this.getX() - this.xo; double d0 = this.getX() - this.xo;
double d1 = this.getZ() - this.zo;
float f = (float) (d0 * d0 + d1 * d1);
@@ -0,0 +0,0 @@ public abstract class LivingEntity extends Entity { @@ -0,0 +0,0 @@ public abstract class LivingEntity extends Entity {
if (this.isSleeping()) { if (this.isSleeping()) {
this.setXRot(0.0F); this.setXRot(0.0F);