And that's why hand editing patch files in nano is risky.... make it compile

This commit is contained in:
Aikar 2020-04-02 03:58:46 -04:00
parent c2d7876a54
commit c867045d3c
No known key found for this signature in database
GPG Key ID: 401ADFC9891FAAFE

View File

@ -34,7 +34,7 @@ index d522d7238d..3a248dbe37 100644
this.setMot(Vec3D.a);
}
+ // 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);
+ return;
+ }