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.updateSwimAmount();
@@ -0,0 +0,0 @@ public abstract class LivingEntity extends Entity {
}
}
- if (!this.isRemoved()) {
if (!this.isRemoved()) {
- SpigotTimings.timerEntityBaseTick.stopTiming(); // Spigot
- this.aiStep();
this.aiStep();
- SpigotTimings.timerEntityTickRest.startTiming(); // Spigot
- }
-
}
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 {
if (this.isSleeping()) {
this.setXRot(0.0F);