Fallen-Breath / Fallen-Breath/MinecraftDataAPI

无法获取玩家维度

未关闭
#24 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
20
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

环境:python 3.11.0
mcdr 最新版
插件:gamemode 0.4.1
minecraft_data_api 0.6.1

在使用gamemode的!!spec指令时后台报错
` Exception in thread Gamemode switch mode:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/root/survival/survival/venv/lib/python3.11/site-packages/mcdreforged/api/decorator/new_thread.py", line 31, in wrapped_target
raise e from None
File "/root/survival/survival/venv/lib/python3.11/site-packages/mcdreforged/api/decorator/new_thread.py", line 28, in wrapped_target
self.__return_value = target(*args_, **kwargs_)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugins/Gamemode-v1.4.0.mcdr/gamemode/__init__.py", line 312, in change_mode
File "plugins/Gamemode-v1.4.0.mcdr/gamemode/__init__.py", line 654, in sur_to_spec
File "plugins/MinecraftDataAPI-v1.6.1.mcdr/minecraft_data_api/__init__.py", line 85, in get_player_dimension
ValueError: Fail to query the dimension of player Junket_Pear
`
因技术水平有限 不知道是插件的问题还是什么问题 想询问一下 麻烦了

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。