mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-31 06:49:59 +08:00
add # 新增开垦、升级土地功能
This commit is contained in:
@@ -55,7 +55,10 @@ class FarmService:
|
||||
|
||||
def operation(repository, now):
|
||||
created = repository.register(name)
|
||||
return self._result(repository, created=created)
|
||||
return self._result(
|
||||
repository, created=created,
|
||||
plot_count=len(repository.plots()),
|
||||
)
|
||||
|
||||
return await self._execute(
|
||||
identity, operation_id, "register", {"name": name}, operation,
|
||||
|
||||
Reference in New Issue
Block a user