CitizensDev / Citizens

NPCs for Bukkit
citizensnpcs.co
Other
107 stars 53 forks source link

EntitityDamageEvent Lag Issue #1170

Closed Suffice closed 11 years ago

Suffice commented 11 years ago

Of all the events that can be seen, this one stands out as over intensive.

I assume this event is to protect NPC's from getting attacked, or to allow for NPC's to be attacked, however this is unneeded for us, because we have World Guard regions that protect players, and that's where the NPC's are, so they would be protected to, even if the flags didn't apply to them.

If possible, a way to disable this event would be great! Or at least for it to be much more efficient.

-edit-

It turns out that one of our moderators moved an NPC into lava/fire, and that's what was causing the hit.