diff options
author | joshi07 <schumacher@20ma.de> | 2015-03-05 11:52:42 +0100 |
---|---|---|
committer | joshi07 <schumacher@20ma.de> | 2015-03-05 11:52:42 +0100 |
commit | f71b1fe799eb944b9488019da134a6cc34675605 (patch) | |
tree | f142764f84560a9761bf7d70efbdf4f6d28d0421 /src/Bindings/PluginLua.h | |
parent | Lua API: Fixed md5 and sha1 hex formatting. (diff) | |
download | cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.gz cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.bz2 cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.lz cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.xz cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.zst cuberite-f71b1fe799eb944b9488019da134a6cc34675605.zip |
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r-- | src/Bindings/PluginLua.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index f443f5fc0..7b528501b 100644 --- a/src/Bindings/PluginLua.h +++ b/src/Bindings/PluginLua.h @@ -106,6 +106,7 @@ public: virtual bool OnPlayerRightClickingEntity(cPlayer & a_Player, cEntity & a_Entity) override; virtual bool OnPlayerShooting (cPlayer & a_Player) override; virtual bool OnPlayerSpawned (cPlayer & a_Player) override; + virtual bool OnEntityTeleport (cEntity & a_Entity, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition) override; virtual bool OnPlayerTossingItem (cPlayer & a_Player) override; virtual bool OnPlayerUsedBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override; virtual bool OnPlayerUsedItem (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override; |