Croebh / Avrae-Customizations

A place for me to store and update all of my Avrae aliases and customizations.
GNU General Public License v3.0
28 stars 23 forks source link

[Bug] Using -spell when placing an overlay #9

Closed nerdsanddragons closed 4 years ago

nerdsanddragons commented 4 years ago

What alias/snippet is this for? !map

Describe the bug when running the command !map -t -spell -aim it produces the error...

Error on line 4, col 0:
serverTokens.update(userTokens)
^
Traceback (most recent call last):
ValueError: dictionary update sequence element #0 has length 1; 2 is required
This is an issue in a user-created command; do not report this on the official bug tracker.

To Reproduce See description above

Expected behavior It should place the overlay that has been saved for the spell listed in the json

Croebh commented 4 years ago

What's the exact command used?

nerdsanddragons commented 4 years ago

!map -t prix -spell colorspray -aim go1|stick

Doesn't produce the error but now just says:

Be sure to have a -t/-aim of using {targ} and {aim}

Croebh commented 4 years ago

Fixed with https://github.com/Croebh/Avrae-Customizations/commit/2228b2816838a5a3595ffa9eccbdd5853aa59b50