Fix mortalwound casting issue

EntityRegainHealthEvent can be called for other entities than players (i.e. wither regen, horse/wolf heals)

Also removed nested class as it isnt really necessary