The boss is not a player

Changed cast from (Player) to (Entity) in damage listener