mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Fix timings diff
This commit is contained in:
parent
8bf425f456
commit
d45c7916e1
1 changed files with 4 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue