diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-18 17:11:15 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-18 17:11:15 +0100 |
commit | db5d7963e2dbb3a766850f5ffabd14980beb46b6 (patch) | |
tree | 48d4d4eec9a819d9b83a40969e96cbf8f86ea206 /src/Bindings/PluginManager.h | |
parent | Removed offending tr1/memory header inclusion. (diff) | |
download | cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.gz cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.bz2 cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.lz cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.xz cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.tar.zst cuberite-db5d7963e2dbb3a766850f5ffabd14980beb46b6.zip |
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r-- | src/Bindings/PluginManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index 09f230475..b69f402c0 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -68,7 +68,7 @@ public: // tolua_export HOOK_COLLECTING_PICKUP, HOOK_CRAFTING_NO_RECIPE, HOOK_DISCONNECT, - HOOK_ENTITY_ANIMATION, + HOOK_PLAYER_ANIMATION, HOOK_EXECUTE_COMMAND, HOOK_EXPLODED, HOOK_EXPLODING, @@ -163,7 +163,7 @@ public: // tolua_export bool CallHookHopperPushingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_SrcSlotNum, cBlockEntityWithItems & a_DstEntity, int a_DstSlotNum); bool CallHookKilling (cEntity & a_Victim, cEntity * a_Killer); bool CallHookLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username); - bool CallHookEntityAnimation (cEntity & a_Entity, int a_Animation); + bool CallHookPlayerAnimation (cPlayer & a_Player, int a_Animation); bool CallHookPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta); bool CallHookPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta); bool CallHookPlayerEating (cPlayer & a_Player); |