Update cause of lava and fire damage

The causes, as seen in the PHPDoc comment for `Entity::attack()`, should be either an `EntityDamageEvent` instance or an integer constant at `EntityDamageEvent` class. I believe that it is intended to use constants instead of strings.