修复任务

wangyuan 2019-07-12 15:20:03 +08:00
parent b449d4166e
commit 0a832f3e08
1 changed files with 1 additions and 0 deletions

View File

@ -511,6 +511,7 @@ public class WorkShopLogic {
boolean costResult = ItemUtil.itemCost(user,itemInfo,1,1);
if(costResult){
controller.setWorkShopLevel(currLevel+1);
user.getUserMissionManager().onGameEvent(user,GameEvent.WORKSHOP_LEVELUP,controller.getWorkShopLevel());
MessageUtil.sendMessage(uid,1,MessageTypeProto.MessageType.WORKSHOP_LEVELUP_RESPONSE_VALUE,null,true);
}else{
MessageUtil.sendErrorResponse(session,0,MessageTypeProto.MessageType.WORKSHOP_LEVELUP_RESPONSE_VALUE,"道具不足");