FallenMoonNetwork / CanaryRecode

CanaryMod Recode Repository
Other
11 stars 44 forks source link

EatHook is called twice? #27

Closed timbru31 closed 11 years ago

timbru31 commented 11 years ago

Hey there,

I listen to the EatHook and noticed that the event seems to be called twice. My code is running two times, but I just ate one time. Listening on normal priority & using latest CanaryRecode build (#445). I'm not canceling the hook! (The item in my hand is also reduced twice) [I tested it without plugins loaded, issue still existing!]

If you need my example code, see here: https://github.com/xGhOsTkiLLeRx/CookMe-Canary/blob/recode/src/main/java/de/dustplanet/cookme/CookMePlayerListener.java

If you need more information, please tell me what you need and I'll try to provide it

darkdiplomat commented 11 years ago

I have been unable to reproduce the hook being called twice. Can you provide some debug that shows the double call?

timbru31 commented 11 years ago

Sure, I should be able to do this tomorrow