Avrae-Customizations icon indicating copy to clipboard operation
Avrae-Customizations copied to clipboard

[Bug] !go undo no longer functions due to parsing change in Avrae

Open killcano opened this issue 3 years ago • 0 comments

What alias/snippet is this for? !go

Describe the bug !go undo no longer works. I believe Avrae's change to parsing broke how it worked previously. In !go there is this IF: if args.last('undo') and prevBack:

Because it is parsing the args, "undo" no longer works, but "-undo" does.

To Reproduce Steps to reproduce the behavior:

  1. Join init with a map.
  2. Place character on map.
  3. Move character using !go
  4. !go undo
  5. Nothing happens.

Expected behavior Previously the argument "undo" was accepted by the code if args.last('undo') and prevBack: It would undo the previous !go movement, careful to save before the actual undo so you could even undo the undo.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

killcano avatar Aug 14 '22 01:08 killcano