提示信息修改

lvxinran 2021-08-07 00:17:47 +08:00
parent e6f55bb76f
commit 3e9de07975
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ public class TowerMap extends AbstractMap {
}
if(monsterAmount==0){
//没有小怪,无需使用炸弹
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
throw new ErrorCodeException(ErrorCode.TOWER_NO_SIMPLE_MONSTER);
}
boolean isUse = ItemUtil.itemCost(user,bomb,BIReason.BOMB_CONSUME,mapManager.getCurMapId());
if(!isUse){