Because it is a literal keyword, just like "give" there.
This is consistent with other commands with literal arguments that aren't variables.
the syntax is now /effect give <target> <effect> [<duration>|infinite] [<amplifier>] [<hide particles>] Infinite is not a duration value, but a separate literal keyword.
Because it is a literal keyword, just like "give" there.
This is consistent with other commands with literal arguments that aren't variables.
the syntax is now
/effect give <target> <effect> [<duration>|infinite] [<amplifier>] [<hide particles>]
Infinite is not a duration value, but a separate literal keyword.