From c23a9856c9f8a235921cf4bbaa3ff35c2a27c841 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Wed, 25 Jun 2025 19:44:15 -0700 Subject: [PATCH] Fix bug in fishing Something is seriously wrong with the "search" feature. --- typeclasses/fishing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typeclasses/fishing.py b/typeclasses/fishing.py index c9bcff4..552704d 100755 --- a/typeclasses/fishing.py +++ b/typeclasses/fishing.py @@ -198,7 +198,7 @@ class FishingPole(Object): self.cmdset.add_default(CmdSetFishing) def do_cast(self, fisher): - if fisher.location != fisher.search("Lazy Dock", quiet=True): + if fisher.location.key != "Lazy Dock": fisher.msg("You can't do that without being near the water.") elif fisher.db.fishing == Fishing.CAST: fisher.msg("You need to reel the line in first.")