masteroftime / Python-Plugin-Loader

55 stars 18 forks source link

event.EntityDeathEvent given to my event.PlayerDeathEvent hook handler #12

Closed intangir closed 10 years ago

intangir commented 10 years ago

it seems to be misidentifying the event and sending me the wrong thing in my hook

it also sends me the actual PlayerDeathEvent , but ALSO the EntityDeathEvent, which my handler cant process

PlayerDeathEvent extends EntityDeathEvent

intangir commented 10 years ago

i just added debugging to make sure it was registering for the right event

i cant see a single thing wrong with your code on this it clearly registers the right event... seems like this is a bukkit issue, ill try to work around it in my plugin, i wouldn't recommending changing any code in your plugin on this one

closing it