Fixes NPE in getDamageDealer

Original code caused NullPointerException when calling getDamageDealer for a DamageSource that is not an Entity.
Merge pull request #31 from nosefish/patch-2

Fixes NPE in getDamageDealer