aboutsummaryrefslogtreecommitdiff
path: root/src/network/connection.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-07-25 07:54:56 +0200
committerest31 <MTest31@outlook.com>2015-07-25 17:33:41 +0200
commitfa1096ec49ee9b2b8ca85ff272930812e657b3c5 (patch)
treeccf7028f38dd0f1c92ad87d6fd7149d7b9143e67 /src/network/connection.h
parent4e6971e59358b40956bb4c25f8f85e4cc018dbec (diff)
downloadminetest-fa1096ec49ee9b2b8ca85ff272930812e657b3c5.tar.gz
minetest-fa1096ec49ee9b2b8ca85ff272930812e657b3c5.tar.bz2
minetest-fa1096ec49ee9b2b8ca85ff272930812e657b3c5.zip
Fix minetest.get_(all)_craft_recipe(s) regression
Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes.
Diffstat (limited to 'src/network/connection.h')
0 files changed, 0 insertions, 0 deletions
/span> ItemDefinition; class LuaItemStack; class ModApiItemMod; class InventoryList; struct InventoryLocation; class ScriptApiItem : virtual public ScriptApiBase { public: bool item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos); bool item_OnPlace(ItemStack &item, ServerActiveObject *placer, const PointedThing &pointed); bool item_OnUse(ItemStack &item, ServerActiveObject *user, const PointedThing &pointed); bool item_OnSecondaryUse(ItemStack &item, ServerActiveObject *user); bool item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); bool item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); protected: friend class LuaItemStack; friend class ModApiItemMod; bool getItemCallback(const char *name, const char *callbackname); void pushPointedThing(const PointedThing& pointed); }; #endif /* S_ITEM_H_ */