Unkown nodes: Provide position on interact (#6505)

* Unkown nodes: Provide position on interact
This commit is contained in:
SmallJoker
2017-10-07 15:11:07 +02:00
committed by SmallJoker
parent 200e9cc4a2
commit 0034abb560
4 changed files with 22 additions and 19 deletions

View File

@@ -53,7 +53,7 @@ class ScriptApiItem
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);
};