diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-08-03 13:31:06 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-08-27 14:54:43 +0200 |
commit | 0a7784465463a7c8c86a0a52b53bb510751ce3a8 (patch) | |
tree | aff4cf44a327b9c64349c1fbc6719502d9a52caa /src/Bindings/PluginLua.h | |
parent | Fixed nbt content lost on open creative inventory and alpha shorted (diff) | |
download | cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.tar cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.tar.gz cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.tar.bz2 cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.tar.lz cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.tar.xz cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.tar.zst cuberite-0a7784465463a7c8c86a0a52b53bb510751ce3a8.zip |
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r-- | src/Bindings/PluginLua.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index 59266a35a..703e1a945 100644 --- a/src/Bindings/PluginLua.h +++ b/src/Bindings/PluginLua.h @@ -95,8 +95,8 @@ public: virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override; virtual bool OnPlayerDestroyed (cPlayer & a_Player) override; virtual bool OnPlayerEating (cPlayer & a_Player) override; - virtual bool OnPlayerEditedBook (cPlayer & a_Player, cBookContent & a_BookContent, bool a_IsSigned) override; - virtual bool OnPlayerEditingBook (cPlayer & a_Player, cBookContent & a_BookContent, bool a_IsSigned) override; + virtual bool OnPlayerEditedBook (cPlayer & a_Player, const cBookContent & a_BookContent, bool a_IsSigned) override; + virtual bool OnPlayerEditingBook (cPlayer & a_Player, const cBookContent & a_BookContent, bool a_IsSigned) override; virtual bool OnPlayerFished (cPlayer & a_Player, const cItems & a_Reward) override; virtual bool OnPlayerFishing (cPlayer & a_Player, cItems & a_Reward) override; virtual bool OnPlayerFoodLevelChange (cPlayer & a_Player, int a_NewFoodLevel) override; |