错误码

back_recharge
mashiyu 2019-03-28 14:59:48 +08:00
parent 3676c49c2b
commit 9633f449c6
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public class MapLogic {
SCMapConfig scMapConfig = SCMapConfig.getsCMapSize().get(mapId); SCMapConfig scMapConfig = SCMapConfig.getsCMapSize().get(mapId);
if (energy < scMapConfig.getEnergyConfused()) { if (energy < scMapConfig.getEnergyConfused()) {
LOGGER.info("enterMap() uid=>{} energy=>{} need=>{} energy not enough ", uid, energy, scMapConfig.getEnergyConfused()); LOGGER.info("enterMap() uid=>{} energy=>{} need=>{} energy not enough ", uid, energy, scMapConfig.getEnergyConfused());
MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), ""); MessageUtil.sendErrorResponse(iSession, 0, messageType.getNumber(), "行动力不足!");
return; return;
} }
int leftEnergy = energy - scMapConfig.getEnergyConfused(); int leftEnergy = energy - scMapConfig.getEnergyConfused();
@ -805,7 +805,7 @@ public class MapLogic {
RedisUtil.getInstence().del(key); RedisUtil.getInstence().del(key);
if (valueMap == null || valueMap.isEmpty()) { if (valueMap == null || valueMap.isEmpty()) {
LOGGER.info("endFight() uid=>{} not start fight", uid); LOGGER.info("endFight() uid=>{} not start fight", uid);
MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), ""); MessageUtil.sendErrorResponse(session,0, messageType.getNumber(), "此战斗已结算过!");
return; return;
} }