diff options
Diffstat (limited to 'patches/server/0021-Configurable-fishing-time-ranges.patch')
-rw-r--r-- | patches/server/0021-Configurable-fishing-time-ranges.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0021-Configurable-fishing-time-ranges.patch b/patches/server/0021-Configurable-fishing-time-ranges.patch index 1ac9a0454c..117f93cdbf 100644 --- a/patches/server/0021-Configurable-fishing-time-ranges.patch +++ b/patches/server/0021-Configurable-fishing-time-ranges.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Configurable fishing time ranges diff --git a/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java b/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java -index e5d9902331e3c4e461e855290a95980b41f5efe2..8b27b5118cbeeb0b25fb6a23056e51899be32035 100644 +index 6d81bc003647ba593cd895a57d6651080efdf4a3..9bf5b67922f3368e1ee4d76f6297ebe425f3ceab 100644 --- a/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java +++ b/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java -@@ -92,6 +92,10 @@ public class FishingHook extends Projectile { +@@ -93,6 +93,10 @@ public class FishingHook extends Projectile { this.noCulling = true; this.luck = Math.max(0, luckOfTheSeaLevel); this.lureSpeed = Math.max(0, lureLevel); @@ -19,7 +19,7 @@ index e5d9902331e3c4e461e855290a95980b41f5efe2..8b27b5118cbeeb0b25fb6a23056e5189 } public FishingHook(EntityType<? extends FishingHook> type, Level world) { -@@ -409,7 +413,7 @@ public class FishingHook extends Projectile { +@@ -410,7 +414,7 @@ public class FishingHook extends Projectile { } else { // CraftBukkit start - logic to modify fishing wait time this.timeUntilLured = Mth.nextInt(this.random, this.minWaitTime, this.maxWaitTime); |