Fallen-Breath / Fallen-Breath/MinecraftDataAPI

无法获取玩家维度

Open
#24 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20
Forks
9
PR merge metrics
No merged PRs in 30d

Description

环境: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
`
因技术水平有限 不知道是插件的问题还是什么问题 想询问一下 麻烦了

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.