CommandHelper

CommandHelper

46.5k Downloads

get_command_block() in register_command()

LadyCailinBot opened this issue ยท 2 comments

commented

CMDHELPER-2838 - Reported by PseudoKnight

This would allow scripting for command blocks without having to use /runalias.

commented

Comment by jb_aero

I think you mean you would like the environment to be passed into the closure so that player() for example would work too?

commented

Comment by PseudoKnight

Essentially. The executor's and the tabcompleter's closure environments should be the same as in other parts of CH. While I do look at the code, I'm not completely familiar with the inner workings of CH, so I stated explicitly what I wanted instead.