From ec7c9402cc3f30dae3d601b4823296d6d8fd136f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 24 Jul 2019 23:15:46 -0300 Subject: Fix code typo --- npc/functions/fishing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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); -- cgit v1.2.3-70-g09d2