zhangshanxue 2019-08-21 08:56:11 +08:00
commit d6a6f25e82
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;
}