Fixed bug:7231 that if using pets, crashes the map-server.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17113 54d463be-8e91-2dee-dedb-b68131a5f0ec