Fix errors from previous commit

(based on commit ACID WOTLK[Fix errors from previous commit] - a44871d)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>