(FIRST 1.16.3): Update Paper to 1.16.3
This is a pretty tiny update with very little changed. Recommended to update from 1.16.2 ASAP as 1.16.2 is now no longer supported. Plugins should mostly remain working as the NMS revision did not change.
This commit is contained in:
@@ -40,15 +40,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
if (enummovetype == EnumMoveType.PISTON) {
|
||||
+ this.activatedTick = MinecraftServer.currentTick + 20; // Paper
|
||||
vec3d = this.b(vec3d);
|
||||
if (vec3d.equals(Vec3D.a)) {
|
||||
if (vec3d.equals(Vec3D.ORIGIN)) {
|
||||
return;
|
||||
@@ -0,0 +0,0 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||
this.x = Vec3D.a;
|
||||
this.setMot(Vec3D.a);
|
||||
this.x = Vec3D.ORIGIN;
|
||||
this.setMot(Vec3D.ORIGIN);
|
||||
}
|
||||
+ // Paper start - ignore movement changes while inactive.
|
||||
+ if (isTemporarilyActive && !(this instanceof EntityItem || this instanceof EntityMinecartAbstract) && vec3d == getMot() && enummovetype == EnumMoveType.SELF) {
|
||||
+ setMot(Vec3D.a);
|
||||
+ setMot(Vec3D.ORIGIN);
|
||||
+ this.world.getMethodProfiler().exit();
|
||||
+ return;
|
||||
+ }
|
||||
@@ -422,7 +422,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ if (isActive) {
|
||||
entity1.passengerTick();
|
||||
+ } else {
|
||||
+ entity1.setMot(Vec3D.a);
|
||||
+ entity1.setMot(Vec3D.ORIGIN);
|
||||
+ entity1.inactiveTick();
|
||||
+ // copied from inside of if (isPassenger()) of passengerTick, but that ifPassenger is unnecessary
|
||||
+ entity.syncPositionOf(entity1);
|
||||
|
||||
Reference in New Issue
Block a user