工坊等级限制

back_recharge
wangyuan 2019-08-16 13:49:12 +08:00
parent 334083029e
commit cc43c55367
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class WorkShopLogic {
oldLevl = workShopController.getTechnologyMap().get(profession).get(techId);
}
SWorkShopTechnology sWorkShopTechnology = SWorkShopTechnology.getsWorkTechMapByTechIdAndLevel(techId, oldLevl);
if(sWorkShopTechnology == null){
if(sWorkShopTechnology == null || sWorkShopTechnology.getConsume().length<=0){
MessageUtil.sendErrorResponse(iSession,0,msgId,"maxLevel");
return;
}