获取服务器id错误
parent
d117d99b8a
commit
9d90b6b6bf
|
@ -1,5 +1,8 @@
|
|||
package com.ljsd.jieling.logic.dao.cross;
|
||||
|
||||
import com.ljsd.GameApplication;
|
||||
import com.ljsd.jieling.db.mongo.AreaManager;
|
||||
|
||||
/**
|
||||
* @Author hj
|
||||
* @Date 2021/8/31 15:30:04
|
||||
|
@ -189,6 +192,7 @@ public class CSPlayer {
|
|||
}
|
||||
|
||||
public int getServerId() {
|
||||
int serverId = AreaManager.getInstance().getServerIdByUid(userId, GameApplication.serverId);
|
||||
return serverId;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue