From 0d4b3016483ceb031196f8dc8ff88b14460999e3 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sat, 31 May 2025 08:54:11 -0700 Subject: [PATCH] Suppress a double warning. --- typeclasses/fishing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typeclasses/fishing.py b/typeclasses/fishing.py index aab8b62..c9bcff4 100755 --- a/typeclasses/fishing.py +++ b/typeclasses/fishing.py @@ -150,7 +150,7 @@ class Fish(CarriableNPC): """ A visual way to delete the fish. """ - if fisher.location == fisher.search("Lazy Dock"): + if fisher.location == fisher.search("Lazy Dock", quiet=True): fisher.msg(routput("You <> the fish back into the <>.")) fisher.msg(routput("The fish says, \"Bye for now. If you want to talk again, just drop me a line!\"")) else: @@ -198,7 +198,7 @@ class FishingPole(Object): self.cmdset.add_default(CmdSetFishing) def do_cast(self, fisher): - if fisher.location != fisher.search("Lazy Dock"): + if fisher.location != fisher.search("Lazy Dock", quiet=True): 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.")