aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api/s_item.h')
-rw-r--r--src/script/cpp_api/s_item.h2
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 7350a71c5..b4b02b0c5 100644
--- a/src/script/cpp_api/s_item.h
+++ b/src/script/cpp_api/s_item.h
@@ -53,7 +53,7 @@ protected:
friend class LuaItemStack;
friend class ModApiItemMod;
- 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);
};