工坊等级限制
parent
334083029e
commit
cc43c55367
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue