FlashyReese / CommandAliases

Alternate short commands for complex commands
MIT License
26 stars 6 forks source link

Could not find existing command #68

Open Jsnbrown1989 opened 2 weeks ago

Jsnbrown1989 commented 2 weeks ago

1.21 / Fabric Running commandaliases-1.0.1+mc1.21-build.70

Running into the below error in the console:

[16:21:15] [Server thread/ERROR]: [SERVER] COMMAND_REDIRECT - Could not find existing command "execute in minecraft:overworld run tp $executor_name() 196 65 -281": /home/container/./config/commandaliases/warp_solanum.toml

schemaVersion = 1 commandMode = "COMMAND_REDIRECT_NOARG" command = "mainspawn" redirectTo = "execute in minecraft:overworld run tp $executor_name() 196 65 -281"

I am expecting to be able to reload commandalias and then do /mainspawn and no matter what world, I would be teleported to a certain world and to a specific coord. I'm not needing to /set mainspawn or anything special. Hard coding it is fine.

Help?

NextRaven10 commented 5 days ago

I have the same issue :( Current workaround for me is to use the COMMAND_REDIRECT instead. But that one only sometimes accepts extra arguments :(