🚑 修正了铲除作物会导致土地等级失效的BUG
This commit is contained in:
parent
ba06fd8967
commit
564d9858f5
@ -42,7 +42,7 @@ __plugin_meta__ = PluginMetadata(
|
|||||||
""".strip(),
|
""".strip(),
|
||||||
extra=PluginExtraData(
|
extra=PluginExtraData(
|
||||||
author="Art_Sakura",
|
author="Art_Sakura",
|
||||||
version="1.5.0",
|
version="1.5.2",
|
||||||
commands=[Command(command="我的农场")],
|
commands=[Command(command="我的农场")],
|
||||||
menu_type="群内小游戏",
|
menu_type="群内小游戏",
|
||||||
configs=[
|
configs=[
|
||||||
|
|||||||
@ -570,6 +570,9 @@ async def _(session: Uninfo, index: Query[int] = AlconnaQuery("index", 1)):
|
|||||||
|
|
||||||
await MessageUtils.build_message(condition).send(reply_to=True)
|
await MessageUtils.build_message(condition).send(reply_to=True)
|
||||||
|
|
||||||
|
if not condition.startswith("将土地升级至:"):
|
||||||
|
return
|
||||||
|
|
||||||
@waiter(waits=["message"], keep_session=True)
|
@waiter(waits=["message"], keep_session=True)
|
||||||
async def check(event: Event):
|
async def check(event: Event):
|
||||||
return event.get_plaintext()
|
return event.get_plaintext()
|
||||||
|
|||||||
@ -703,6 +703,7 @@ class CFarmManager:
|
|||||||
"plantName": "",
|
"plantName": "",
|
||||||
"plantTime": 0,
|
"plantTime": 0,
|
||||||
"matureTime": 0,
|
"matureTime": 0,
|
||||||
|
"wiltStatus": 0,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user