修复拍一拍bug, 10000 并不一定是加人
This commit is contained in:
8
robot.py
8
robot.py
@@ -326,10 +326,10 @@ class Robot(Job):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error(f"game_message_load error:{e}")
|
self.LOG.error(f"game_message_load error:{e}")
|
||||||
try:
|
try:
|
||||||
if msg.type == 10000:
|
# if msg.type == 10000:
|
||||||
self.LOG.info(msg)
|
# self.LOG.info(msg)
|
||||||
self.group_add.handle_message(msg)
|
# self.group_add.handle_message(msg)
|
||||||
return
|
# return
|
||||||
result = self.gmc.process_message(msg.roomid, msg.xml)
|
result = self.gmc.process_message(msg.roomid, msg.xml)
|
||||||
# 判断是否没有变化
|
# 判断是否没有变化
|
||||||
if "$NO_CHANGE$" not in result:
|
if "$NO_CHANGE$" not in result:
|
||||||
|
|||||||
Reference in New Issue
Block a user