Closed ghost closed 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.
Fixed in https://github.com/lenis0012/NPCFactory/commit/91896424d8cd6972d807e82b96666646d9b99130
Still appears to be broken, and called when the NPC is damaged
@DoctorDark Ok. ill make a hotfix soon
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.