TriggerReactor

TriggerReactor

24.6k Downloads

Make the command interface 1-indexed

gerzytet opened this issue · 1 comments

commented

0 indexed arrays have been a staple in java and other languages for years. (Despite their confused origins)
We aren’t java though, so we can decide for ourselves whether or not to use 0 or 1 indexed arrays. The decision to use 0 indexed arrays was questionable considering TriggerReactor’s goals, but it’s not something we can easily change at this point...
The command interface on the other hand makes no sense as a 0-indexed system. The pages of /trg help shouldn’t count from 0... page 1 should be the first page. I have similar opinions of the rest of the commands including

  • /trg help
  • /trg item lore set|remove
  • /trg inventory item|row|column
commented

Done in c320a50