Skip to content

Commit eb98398

Browse files
Fixed FishingHook param mappings being swapped (#7243)
1 parent d0b8b1e commit eb98398

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ repositories {
5656
}
5757

5858
dependencies {
59-
paramMappings("net.fabricmc:yarn:1.18.1+build.1:mergedv2")
59+
paramMappings("net.fabricmc:yarn:1.18.1+build.14:mergedv2")
6060
remapper("net.fabricmc:tiny-remapper:0.7.0:fat")
6161
decompiler("net.minecraftforge:forgeflower:1.5.498.22")
6262
paperclip("io.papermc:paperclip:3.0.2")

patches/server/0015-Configurable-fishing-time-ranges.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ index ec3fb557fa31b153de20c4990066182a774dd489..5896b4e4646d722db5622a424fa26f42
2222
+ }
2323
}
2424
diff --git a/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java b/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java
25-
index 7a44f701c94878618963868bf63f4d6391842851..eaa3ed52a57b56fc0f260aadfd23c2fd6dfc0f51 100644
25+
index 73c5a0e6f1db6bf438fe516e213f40f0645ed954..dc248a0a91795fb67cc0e15cb0012364e739fbaa 100644
2626
--- a/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java
2727
+++ b/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java
2828
@@ -82,6 +82,10 @@ public class FishingHook extends Projectile {
2929
this.noCulling = true;
30-
this.luck = Math.max(0, lureLevel);
31-
this.lureSpeed = Math.max(0, luckOfTheSeaLevel);
30+
this.luck = Math.max(0, luckOfTheSeaLevel);
31+
this.lureSpeed = Math.max(0, lureLevel);
3232
+ // Paper start
3333
+ minWaitTime = world.paperConfig.fishingMinTicks;
3434
+ maxWaitTime = world.paperConfig.fishingMaxTicks;

0 commit comments

Comments
 (0)