13
0
geforkt von Mirrors/Paper

Fix timings diff

Dieser Commit ist enthalten in:
Nassim Jahnke 2022-07-27 21:22:02 +02:00
Ursprung 8bf425f456
Commit d45c7916e1

Datei anzeigen

@ -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);