BETA: Fixed a `ClassCastException` after [6397].

Reported by: St3eT

git-svn-id: http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA@6401 d34dfa0f-f91c-0410-86dd-cf06f19dd0ad