
tmsg()
LadyCailinBot opened this issue ยท 2 comments
CMDHELPER-2981 - Reported by Lildirt
When tmsg() is used within register_command(), it causes the CommandSender to be 'CONSOLE', instead of '~console', which is commonly used in returning the name for the console in aliases.
Comment by PseudoKnight
The environment in register_command closures is very different from aliases. Last I tried you can't use die() (CMDHELPER-2906). You can't use get_command_block() (CMDHELPER-2838). etc. It seems to be using the register_command() function's environment, which makes sense, but it should be updated.