Suppress a double warning.

This commit is contained in:
Howard Abrams 2025-05-31 08:54:11 -07:00
parent 167e8f356f
commit 0d4b301648

View file

@ -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 <<toss ^ heave ^ throw>> the fish back into the <<water ^ sea>>."))
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.")