From f6f9f39c22122c91246fb0a9043f36ed829348b7 Mon Sep 17 00:00:00 2001 From: Thunder930 <97140451+Thunder930@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:07:11 -0400 Subject: [PATCH] Fixed missed union operators (#100) --- houdini/handlers/games/ninja/water.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/houdini/handlers/games/ninja/water.py b/houdini/handlers/games/ninja/water.py index 2647f22..0a91044 100644 --- a/houdini/handlers/games/ninja/water.py +++ b/houdini/handlers/games/ninja/water.py @@ -580,7 +580,7 @@ class CardJitsuWaterLogic(IWaddle): self, player: WaterPlayer, fell: bool = False, - position: int | None = None + position: Union[int, None] = None ) -> Amulet: """ Update the Card-Jitsu Water progress for a player after they reach the end @@ -848,7 +848,7 @@ class CardJitsuWaterLogic(IWaddle): class WaterSenseiLogic(CardJitsuWaterLogic): """Logic for a Card-Jitsu Water match against Sensei""" - sensei_loop: asyncio.Task | None = None + sensei_loop: Union[asyncio.Task, None] = None """Loop that controls Sensei's AI""" def __init__(self, waddle):