azerothcore / mod-transmog

Plug&Play transmog module for AzerothCore, based on Rochet2 works
https://github.com/azerothcore/mod-transmog/blob/master/README.md
GNU Affero General Public License v3.0
120 stars 144 forks source link

fix: add null-check for target var in transmog_scripts.cpp #137

Closed Helias closed 1 year ago

Helias commented 1 year ago

checking this crash log https://gist.github.com/assada/068435b470644a1b9a98d94b61a056d3 it seems that the target variable is 0x0 as value, this could make the crash but I am not sure 100%, so please, test this PR.

closes https://github.com/azerothcore/mod-transmog/issues/112 closes https://github.com/azerothcore/mod-transmog/issues/135

svenbledt commented 1 year ago

Amazing thank you very much ;) that worked.