Closed ybw0014 closed 1 year ago
This event can be triggered via both EntityDamageEvent and EntityDamagedByEntityEvent, so the damage source can be null if from EntityDamageEvent, causing getType() throws NPE.
getType()
Well it seems the title cannot trigger the linking, I linked manually.
This event can be triggered via both EntityDamageEvent and EntityDamagedByEntityEvent, so the damage source can be null if from EntityDamageEvent, causing
getType()
throws NPE.