Gu-ZT / Curtain

A Forge mod like fabric-carpet
GNU Lesser General Public License v2.1
45 stars 8 forks source link

[Bug] Curtain Commands Don't Show up After /reload and do not work in Datapack Functions as a result #149

Open ITLSupress opened 5 months ago

ITLSupress commented 5 months ago

OS Version - 操作系统

Windows

Version Details - 版本信息

1.3.2 (1.20.1)

Describe the bug - 问题描述

I was attempting to create some functions to have fake players perform actions on my server, but I noticed that everytime I made a function and ran /reload to get it into the game, the command /player and /curtain disappeared, but the mod still showed as loaded in /datapack list. I assume that the reason it doesn't work with functions is because the command isn't loaded in every time the game loads. Attempting to restart the game to force a reload, causes the command to work again, but the function still does not work.

To Reproduce - 复现问题

Open a Server Create a Datapack and Datapack Function involving the player command Run /reload Attempt to Run Function or /player command manually.

This issue is unique - 这个issue是唯一的

Miyo333 commented 2 months ago

在curtain-mc1.19.2-1.3.2中有同样的问题,所有属于Curtain的命令都会在reload后消失,已有的假人不会下线,功能正常