lenis0012 / NPCFactory

NPC Library for CraftBukkit mod.
MIT License
24 stars 19 forks source link

NPCDamageEvent only being called if provoked by entity. #1

Closed ghost closed 10 years ago

ghost commented 10 years ago

The custom NPC does not take damage from ignited fire or lava for example, only when attacked by another entity.

I've set the damage event to not cancel. I've also set the NPC to non invulnerable.

lenis0012 commented 10 years ago

@DoctorDark Confirmed.

I will take a look at it.

lenis0012 commented 10 years ago

Fixed in https://github.com/lenis0012/NPCFactory/commit/145af5aeaf57746ad5ad4c8c0aefe1941187e6fe