-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cannot execute custom command in datapack function #38
Comments
What version are you running? Is it possible that you can provide those command aliases files as well? |
Version: MC 1.19.2, Fabric 0.4.10, CommandAliases 0.9.4
removebonus replaces the |
Quick question does reloading the datapack using To be honest, I have no idea why it won't let you reference it as a command. |
Nah, it still doesn't let me reference |
The main issue is that Command Aliases are registered after default mod commands and datapacks, making it impossible for the datapack to locate them. Additionally, moving the Command Aliases registration to the default one would cause a failure to locate commands from mods loaded after Command Aliases. |
I have three custom commands (each without arguments) that load in without issue:
I call one of these in a datapack mcfunction:
Upon loading up my server or reloading the datapacks, I get errors along the lines of this:
Running the addbonus command in-game works perfectly fine, so my hypothesis is that, when the server loads in the commands, it doesn't load them in where mcfunctions can see them. Is there any way to fix that?
The text was updated successfully, but these errors were encountered: