CommandHelper

CommandHelper

46.5k Downloads

tmsg()

LadyCailinBot opened this issue ยท 2 comments

commented

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.

commented

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.

commented

Comment by PseudoKnight

This should be fixed with build 2815+.