分组信息直接取redis
parent
51ffb72fe6
commit
f43e032398
|
@ -269,10 +269,9 @@ public class GlobleSystemLogic implements IEventHandler {
|
||||||
if(!GameApplication.serverProperties.isArenaCross()){
|
if(!GameApplication.serverProperties.isArenaCross()){
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if(crossGroup==0){
|
Integer group = RedisUtil.getInstence().getMapValue(RedisKey.SERVER_SPLIT_INFO, "", String.valueOf(GameApplication.serverId), Integer.class);
|
||||||
Integer group = RedisUtil.getInstence().getMapValue(RedisKey.SERVER_SPLIT_INFO, "", String.valueOf(GameApplication.serverId), Integer.class);
|
crossGroup = group==null?-1:group;
|
||||||
crossGroup = group==null?-1:group;
|
|
||||||
}
|
|
||||||
return crossGroup;
|
return crossGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue