Skip to content

Commit 19298bf

Browse files
committed
more multileap fixes
1 parent 0332d45 commit 19298bf

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG-LATEST.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
- Rose Gold bombs now dispense correctly.
1919
- Crash with Pehkui.
2020
- Roses can no longer break bedrock.
21-
- Swept Axes no longer burn.
21+
- Swept Axes no longer burn.
22+
- Jumping with a Horse no longer damages armour enchanted with Knight Jump (Mining Master).

src/main/java/cc/cassian/raspberry/mixin/miningmaster/KnightJumpEnchantmentMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class KnightJumpEnchantmentMixin {
1717
@WrapOperation(method = "onClientTick", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/KeyMapping;isDown()Z"))
1818
private static boolean disableDoubleJumpInWater(KeyMapping instance, Operation<Boolean> original, @Local Minecraft mc) {
1919
if (mc.player == null) return false;
20-
if (!mc.player.isInWater()) {
20+
if (!mc.player.isInWater() && (mc.player.getVehicle() == null)) {
2121
if (ModCompat.CONTROLLABLE && ControllableCompat.isJumping()) {
2222
return true;
2323
}

0 commit comments

Comments
 (0)