Skip to content

[Bug Report] 返回功能异常 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mooling0602 opened this issue Mar 25, 2025 · 3 comments
Open

[Bug Report] 返回功能异常 #5

Mooling0602 opened this issue Mar 25, 2025 · 3 comments

Comments

@Mooling0602
Copy link

Mooling0602 commented Mar 25, 2025

玩家在未执行过其他传送功能时,执行!!back发生报错:

[Server] [22:49:59 INFO]: [PlayerLog] <CleMooling> !!back
[MCDR] [22:49:59] [TaskExecutor/ERROR]: Error when executing command '!!back', source=PlayerCommandSource(player='CleMooling', info_id=3033), node=Literal(literals={'!!back'}), plugin=PackedPlugin(state=<PluginState.READY: 4>, path=PosixPath('plugins/LazyBingTHB-v1.0.1.mcdr')), for='command callback', path=[Literal(literals={'!!back'})]
Traceback (most recent call last):
  File "/home/sparkmc/.local/pipx/venvs/mcdreforged/lib/python3.11/site-packages/mcdreforged/command/builder/callback.py", line 61, in wrap_callback_error
    yield
  File "/home/sparkmc/.local/pipx/venvs/mcdreforged/lib/python3.11/site-packages/mcdreforged/command/command_manager.py", line 117, in contextmanager_func
    yield
  File "/home/sparkmc/.local/pipx/venvs/mcdreforged/lib/python3.11/site-packages/mcdreforged/command/command_manager.py", line 37, in sync_command_execution_wrapper
    func(*args)
  File "plugins/LazyBingTHB-v1.0.1.mcdr/lazybing_thb/core.py", line 170, in undo_teleport
    if config.is_history_expired(history_location.timestamp) and not history_location.warned:
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'timestamp'
@Mooling0602 Mooling0602 changed the title [Bug Report] 返回死亡点功能异常 [Bug Report] 返回功能异常 Mar 25, 2025
@Ra1ny-Yuki Ra1ny-Yuki reopened this Mar 29, 2025
@Ra1ny-Yuki
Copy link
Contributor

点错关了,试下这个

@Mooling0602
Copy link
Author

点错关了,试下这个

今天晚上有空试下。
话说你有没有兴趣加一个返回死亡点的功能

@Ra1ny-Yuki
Copy link
Contributor

点错关了,试下这个

今天晚上有空试下。 话说你有没有兴趣加一个返回死亡点的功能

第一,一个 issue 一件事,要加功能多开一个;第二,不做,我个人不信任目前任何形式的所谓死亡事件 API,如果我用了也是窝自己个人在特定环境下使用的项目

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants