From 564d9858f5c81acb2f34e2310f6629f23b3f0719 Mon Sep 17 00:00:00 2001 From: Art_Sakura <1754798088@qq.com> Date: Mon, 30 Jun 2025 01:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20=E4=BF=AE=E6=AD=A3=E4=BA=86?= =?UTF-8?q?=E9=93=B2=E9=99=A4=E4=BD=9C=E7=89=A9=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=9C=9F=E5=9C=B0=E7=AD=89=E7=BA=A7=E5=A4=B1=E6=95=88=E7=9A=84?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 2 +- command.py | 3 +++ farm/farm.py | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) 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, }, )