Byrth / Lua-Byrth

Lua Addons and Scripts
3 stars 2 forks source link

Gearswap: error when using macros while sitting on a chair #387

Closed Grouf closed 9 years ago

Grouf commented 9 years ago

While sitting on chair 2 and using a macro to cast a spell using either or I got the following error: GearSwap: Lua runtime error: GearSwap/refresh.lua:216: attempt to index field '?' (a nil value)

Not a big deal since you can't do anything while sitting but I thought you should know in case this leads to a bigger issue.

Thanks for all the work on this!

Byrth commented 9 years ago

This is caused by having a character status that's not included in res.statuses.

Byrth commented 9 years ago

Okay, I just added this status to ResourceExtractor (status 63) and it will no longer cause errors after the next resources update.