[HERCULES] Fixed a crash when a mercenary warps back to its master
https://github.com/HerculesWS/Hercules/commit/7f4d6fc1cb21da16e30eb5a5848f550d7d41d3e3#diff-d41d8cd98f00b204e9800998ecf8427e