mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Co-authored-by: andan42 <49289986+andan42@users.noreply.github.com>
This commit is contained in:
1 parent
ac10315810
commit
542db422ad
1 file changed
-17
@@ -63,20 +63,3 @@
|
||||
}
|
||||
|
||||
protected int getMaxPassengers() {
|
||||
@@ -859,6 +_,16 @@
|
||||
@Override
|
||||
public ItemStack getPickResult() {
|
||||
return new ItemStack(this.getDropItem());
|
||||
+ }
|
||||
+
|
||||
+ // Forge: Fix MC-119811 by instantly completing lerp on board
|
||||
+ @Override
|
||||
+ protected void addPassenger(Entity passenger) {
|
||||
+ super.addPassenger(passenger);
|
||||
+ if (this.isControlledByLocalInstance() && this.lerpSteps > 0) {
|
||||
+ this.lerpSteps = 0;
|
||||
+ this.absMoveTo(this.lerpX, this.lerpY, this.lerpZ, (float)this.lerpYRot, (float)this.lerpXRot);
|
||||
+ }
|
||||
}
|
||||
|
||||
public static enum Status {
|
||||
Reference in new issue
Block a user