summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/fishing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 0e6a8c62e..56415e6eb 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -90,7 +90,7 @@ function script fishing {
.@rod = (.@rod ? .@rod : FishingRod);
.@net_ratio = getvariableofnpc(.net_ratio, .@npc$); // How many fishes and baits are required?
- .@net_ratio = min(1, (.@net_ratio ? .@net_ratio : 1));
+ .@net_ratio = max(1, (.@net_ratio ? .@net_ratio : 1));
.@regen_time = getvariableofnpc(.cooldown, .@npc$); // cooldown for the fishing spot
.@regen_time = (.@regen_time ? .@regen_time : 20);