KillListener.java: Add a missing type check.

Getting a lot of ClassCastExceptions from CraftSpiders and CraftWolves.