mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
Bulk pending cleanup.
This commit is contained in:
@@ -217,7 +217,7 @@ public abstract class Entity {
|
||||
}
|
||||
|
||||
public void z() {
|
||||
// this.world.methodProfiler.a("entityBaseTick"); // CraftBukkit - not in production code
|
||||
this.world.methodProfiler.a("entityBaseTick");
|
||||
if (this.vehicle != null && this.vehicle.dead) {
|
||||
this.vehicle = null;
|
||||
}
|
||||
@@ -321,7 +321,7 @@ public abstract class Entity {
|
||||
}
|
||||
|
||||
this.justCreated = false;
|
||||
// this.world.methodProfiler.b(); // CraftBukkit - not in production code
|
||||
this.world.methodProfiler.b();
|
||||
}
|
||||
|
||||
protected void A() {
|
||||
@@ -393,7 +393,7 @@ public abstract class Entity {
|
||||
this.locY = this.boundingBox.b + (double) this.height - (double) this.V;
|
||||
this.locZ = (this.boundingBox.c + this.boundingBox.f) / 2.0D;
|
||||
} else {
|
||||
// this.world.methodProfiler.a("move"); // CraftBukkit - not in production code
|
||||
this.world.methodProfiler.a("move");
|
||||
this.V *= 0.4F;
|
||||
double d3 = this.locX;
|
||||
double d4 = this.locZ;
|
||||
@@ -581,8 +581,8 @@ public abstract class Entity {
|
||||
}
|
||||
}
|
||||
|
||||
// this.world.methodProfiler.b(); // CraftBukkit - not in production code
|
||||
// this.world.methodProfiler.a("rest"); // CraftBukkit - not in production code
|
||||
this.world.methodProfiler.b();
|
||||
this.world.methodProfiler.a("rest");
|
||||
this.locX = (this.boundingBox.a + this.boundingBox.d) / 2.0D;
|
||||
this.locY = this.boundingBox.b + (double) this.height - (double) this.V;
|
||||
this.locZ = (this.boundingBox.c + this.boundingBox.f) / 2.0D;
|
||||
@@ -673,7 +673,7 @@ public abstract class Entity {
|
||||
this.fireTicks = -this.maxFireTicks;
|
||||
}
|
||||
|
||||
// this.world.methodProfiler.b(); // CraftBukkit - not in production code
|
||||
this.world.methodProfiler.b();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user