diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2017-10-07 15:11:07 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-10-07 15:11:07 +0200 |
commit | f547452685b299712ff5aa15bf06b4cd6069deec (patch) | |
tree | 67ecd50b6c1b7bcfaee33349a20133e0bc09d637 /src/script/cpp_api/s_item.h | |
parent | 00ceec9ff939fa9cf82a93e4b43a345d86f765a5 (diff) | |
download | minetest-f547452685b299712ff5aa15bf06b4cd6069deec.tar.gz minetest-f547452685b299712ff5aa15bf06b4cd6069deec.tar.bz2 minetest-f547452685b299712ff5aa15bf06b4cd6069deec.zip |
Unkown nodes: Provide position on interact (#6505)
* Unkown nodes: Provide position on interact
Diffstat (limited to 'src/script/cpp_api/s_item.h')
-rw-r--r-- | src/script/cpp_api/s_item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_item.h b/src/script/cpp_api/s_item.h index 561f3a553..d91b5c1d6 100644 --- a/src/script/cpp_api/s_item.h +++ b/src/script/cpp_api/s_item.h @@ -53,7 +53,7 @@ protected: friend class ModApiItemMod; friend class LuaRaycast; - bool getItemCallback(const char *name, const char *callbackname); + bool getItemCallback(const char *name, const char *callbackname, const v3s16 *p = nullptr); void pushPointedThing(const PointedThing& pointed); }; |