The Bug
The gamerule maxCommandChainLength
allows 0 and negative integer values, this makes no sense.
How to Reproduce
/gamerule maxCommandChainLength -1
Observed Behavior
The "maxCommandChainLength" gamerule allows 0 and negative integer values.
Expected Behavior
The "maxCommandChainLength" gamerule would not allow 0 and negative integer values.
Linked issues
relates to 2
Attachments
Comments 15
@@unknown, I think it might be better to have a separate gamerule (or even separate command which requires higher OP-level) for that. That would make it easier to discover and would avoid potentially undesired effects on other command execution logic (see also MC-124446, not sure if that still applies).
Confirmed for 1.13.1-pre1