Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks

This commit is contained in:
ShadowNinja
2014-01-23 19:21:01 -05:00
parent cd7e8372f3
commit 76d4396fa1
7 changed files with 28 additions and 38 deletions

View File

@@ -52,7 +52,6 @@ class ScriptApiItem
friend class ModApiItemMod;
bool getItemCallback(const char *name, const char *callbackname);
private:
void pushPointedThing(const PointedThing& pointed);
};