Closed Aimerny closed 2 months ago
补充服务端日志报错:
[MCDR] [12:32:53] [killBot/WARNING] [minecraft_data_api]: [Minecraft Data API] Query for player bot_a at path timeout Exception in thread killBot: Traceback (most recent call last): File "c:\users\aimerny\appdata\local\programs\python\python39\lib\threading.py", line 954, in _bootstrap_inner self.run() File "c:\users\aimerny\appdata\local\programs\python\python39\lib\threading.py", line 892, in run self._target(*self._args, *self._kwargs) File "c:\users\aimerny\appdata\local\programs\python\python39\lib\site-packages\mcdreforged\api\decorator\new_thread.py", line 29, in wrapped_target raise e from None File "c:\users\aimerny\appdata\local\programs\python\python39\lib\site-packages\mcdreforged\api\decorator\new_thread.py", line 26, in wrapped_target self.__return_value = target(args, **kwargs) File "plugins\Bot-v1.1.4.mcdr\bot\bot.py", line 226, in kill File "plugins\Bot-v1.1.4.mcdr\bot\plugin.py", line 102, in get_location TypeError: 'NoneType' object is not subscriptable
获取位置失败,请检查Minecraft Data API,并尝试玩家直接spawn是否正常
获取位置失败,请检查Minecraft Data API,并尝试玩家直接spawn是否正常
直接spawn正常,截图上下文中有相关信息
Please go to discussions to ask for help!
需要帮助请前往 discussions!
Description丨描述
修改了假人bot_a的自动更新字段为True以后无法使用
!!bot kill bot_a
以及!!bot kill a
来下线假人。修改为False以后正常下线Screenshots丨截图
Additional context丨附加信息
游戏版本: 1.20.1 bot插件版本: 1.1.4 MCDR版本: 2.12.3