[SPIGOT-2559] CLONE - EntityDamageEvent not executing for anything other than players with setHealth(0)? Created: 29/Jul/16 Updated: 30/Jul/16 Resolved: 30/Jul/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Tom Hoogstra | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.10.2 |
Issue Links: |
|
Description |
Either my shit is completely toasted, or something has went wrong with recent versions. My event is properly registered, other events in the same class execute fine, but if I use the following code @EventHandler public void onDeath(EntityDeathEvent e){ Bukkit.broadcastMessage("test"); } "test" will only be broadcasted when a player dies. I have killed countless sheep, switched classes that the listener is in, everything. |
Comments |
Comment by Tom Hoogstra [ 30/Jul/16 ] |
Yeah i did, forgot to rename it again when i made a clone Originally I did make a thread on the forum but got the same result, so I just made my own temporary fix by calling the event myself |
Comment by Max Peters [ 29/Jul/16 ] |
Well... Also: Use the forums for help! €dit: Sorry, just saw that the Topic is saying "DamageEvent" and you seem to mean "DeathEvent" - still you should probably figure this out via IRC/Forums and form this into a nice bug report if it acutally is one. |
Comment by Tom Hoogstra [ 29/Jul/16 ] |
Only happens when using setHealth(0) on an entity, latest spigot version. |