🐞 fix(gvg): 添加农田重复种植提示
This commit is contained in:
@@ -177,6 +177,7 @@ export class GVGProduceHandler {
|
||||
for(let field of fields) {
|
||||
if(!field) return resResult(STATUS.GVG_FIELD_NOT_FOUND);
|
||||
if(field.lockRoleId != roleId && field.unlockTime > nowSeconds()) return resResult(STATUS.GVG_FIELD_HAS_LOCKED);
|
||||
if(field.lockRoleId == roleId && field.harvestTime > 0) return resResult(STATUS.GVG_FIELD_HAS_PLANT);
|
||||
}
|
||||
|
||||
const cities = await getGVGCities(myLeague);
|
||||
|
||||
Reference in New Issue
Block a user