mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
And that's why hand editing patch files in nano is risky.... make it compile
This commit is contained in:
parent
bbd6a5ac5f
commit
6b48080833
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ index d522d7238d..3a248dbe37 100644
|
||||||
this.setMot(Vec3D.a);
|
this.setMot(Vec3D.a);
|
||||||
}
|
}
|
||||||
+ // Paper start - ignore movement changes while inactive.
|
+ // Paper start - ignore movement changes while inactive.
|
||||||
+ if (isTemporarilyActive && !(entity instanceof EntityItem) && vec3d == getMot() && enummovetype == EnumMoveType.SELF) {
|
+ if (isTemporarilyActive && !(this instanceof EntityItem) && vec3d == getMot() && enummovetype == EnumMoveType.SELF) {
|
||||||
+ setMot(Vec3D.a);
|
+ setMot(Vec3D.a);
|
||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue