From fb7e448ff1fa817265746a4be5c180ca7b1e3ac7 Mon Sep 17 00:00:00 2001 From: Paint_Ninja Date: Mon, 7 Oct 2024 02:06:48 +0100 Subject: [PATCH] Remove unneeded boat patch (backport of #10061 to 1.19.4) (#10102) --- .../world/entity/vehicle/Boat.java.patch | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/entity/vehicle/Boat.java.patch b/patches/minecraft/net/minecraft/world/entity/vehicle/Boat.java.patch index c6e2761d1d..4ee02b5d67 100644 --- a/patches/minecraft/net/minecraft/world/entity/vehicle/Boat.java.patch +++ b/patches/minecraft/net/minecraft/world/entity/vehicle/Boat.java.patch @@ -63,20 +63,3 @@ } protected int m_213801_() { -@@ -858,6 +_,16 @@ - - public boolean m_5842_() { - return this.f_38279_ == Boat.Status.UNDER_WATER || this.f_38279_ == Boat.Status.UNDER_FLOWING_WATER; -+ } -+ -+ // Forge: Fix MC-119811 by instantly completing lerp on board -+ @Override -+ protected void m_20348_(Entity passenger) { -+ super.m_20348_(passenger); -+ if (this.m_6109_() && this.f_38267_ > 0) { -+ this.f_38267_ = 0; -+ this.m_19890_(this.f_38268_, this.f_38269_, this.f_38270_, (float)this.f_38271_, (float)this.f_38272_); -+ } - } - - public ItemStack m_142340_() {