diff --git a/__init__.py b/__init__.py index 5e34def..77ba75b 100644 --- a/__init__.py +++ b/__init__.py @@ -42,7 +42,7 @@ __plugin_meta__ = PluginMetadata( """.strip(), extra=PluginExtraData( author="Art_Sakura", - version="1.5.0", + version="1.5.2", commands=[Command(command="我的农场")], menu_type="群内小游戏", configs=[ diff --git a/command.py b/command.py index 400f332..229f673 100644 --- a/command.py +++ b/command.py @@ -570,6 +570,9 @@ async def _(session: Uninfo, index: Query[int] = AlconnaQuery("index", 1)): await MessageUtils.build_message(condition).send(reply_to=True) + if not condition.startswith("将土地升级至:"): + return + @waiter(waits=["message"], keep_session=True) async def check(event: Event): return event.get_plaintext() diff --git a/farm/farm.py b/farm/farm.py index 25d8531..9cae8a3 100644 --- a/farm/farm.py +++ b/farm/farm.py @@ -703,6 +703,7 @@ class CFarmManager: "plantName": "", "plantTime": 0, "matureTime": 0, + "wiltStatus": 0, }, )