FallenMoonNetwork / CanaryMod

Server administration mod and API for Minecraft beta multiplayer server
http://canarymod.net
GNU Lesser General Public License v3.0
20 stars 14 forks source link

onEntityRightClick does not work on villagers #78

Closed BluXDragon closed 11 years ago

BluXDragon commented 11 years ago

as title as description. The hook is not even called, let alone able to be cancelled.

gregcarlin commented 11 years ago

I derped when I wrote the commit message, fixed with 42eebacdb41a6037504a2541474cff7200d2d54a

BluXDragon commented 11 years ago

While it is indeed called on Villagers now, it is called twice simultaneously.

gregcarlin commented 11 years ago

I'm pretty sure it's only called twice when you cancel the action. And I'm not sure how I would prevent that.