lenis0012 / NPCFactory

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

NpcInteractEvent not being called correctly. #5

Closed ghost closed 10 years ago

ghost commented 10 years ago

If an NPC is right clicked, using this event will not do anything, instead you have to get the entity by the PlayerInteractEntityEvent and checking the entity that is right-clicked has the 'NPC' metadata.

lenis0012 commented 10 years ago

Fixed in https://github.com/lenis0012/NPCFactory/commit/91896424d8cd6972d807e82b96666646d9b99130

ghost commented 10 years ago

Still appears to be broken, and called when the NPC is damaged

lenis0012 commented 10 years ago

@DoctorDark Ok. ill make a hotfix soon