优化机器人
parent
838ea4b82a
commit
d62392d553
|
|
@ -547,6 +547,7 @@ public class RobotConnectionManager {
|
||||||
if (playerIds.length == 1) {
|
if (playerIds.length == 1) {
|
||||||
int playerId = Integer.parseInt(playerIds[0].trim());
|
int playerId = Integer.parseInt(playerIds[0].trim());
|
||||||
if (playerId == robotId) {
|
if (playerId == robotId) {
|
||||||
|
jedis3.expire("wokelock" + robotUser.getRobotId(), 2);
|
||||||
|
|
||||||
//发送退出房间协议
|
//发送退出房间协议
|
||||||
ITObject params = TObject.newInstance();
|
ITObject params = TObject.newInstance();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue