update restamp, add back entity ATs, rebuild patches
This commit is contained in:
@ -119,11 +119,11 @@
|
||||
public double zOld;
|
||||
public boolean noPhysics;
|
||||
private boolean wasOnFire;
|
||||
- protected final RandomSource random = RandomSource.create();
|
||||
+ protected final RandomSource random = SHARED_RANDOM; // Paper - Share random for entities to make them more random
|
||||
- public final RandomSource random = RandomSource.create();
|
||||
+ public final RandomSource random = SHARED_RANDOM; // Paper - Share random for entities to make them more random
|
||||
public int tickCount;
|
||||
private int remainingFireTicks = -this.getFireImmuneTicks();
|
||||
protected boolean wasTouchingWater;
|
||||
public boolean wasTouchingWater;
|
||||
@@ -233,7 +_,7 @@
|
||||
protected UUID uuid = Mth.createInsecureUUID(this.random);
|
||||
protected String stringUUID = this.uuid.toString();
|
||||
@ -341,7 +341,7 @@
|
||||
@@ -390,6 +_,32 @@
|
||||
}
|
||||
|
||||
protected void setRot(float yRot, float xRot) {
|
||||
public void setRot(float yRot, float xRot) {
|
||||
+ // CraftBukkit start - yaw was sometimes set to NaN, so we need to set it back to 0
|
||||
+ if (Float.isNaN(yRot)) {
|
||||
+ yRot = 0;
|
||||
@ -1193,7 +1193,7 @@
|
||||
+ // CraftBukkit - end
|
||||
}
|
||||
|
||||
protected boolean getSharedFlag(int flag) {
|
||||
public boolean getSharedFlag(int flag) {
|
||||
@@ -2472,7 +_,7 @@
|
||||
}
|
||||
|
||||
@ -1695,7 +1695,7 @@
|
||||
+ // Paper end - Folia schedulers
|
||||
}
|
||||
|
||||
protected void unsetRemoved() {
|
||||
public void unsetRemoved() {
|
||||
this.removalReason = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user