From 0ac3d3fc8522614dbdd58d82b082f47ce9f891f7 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Tue, 12 May 2020 17:11:32 +0200 Subject: [PATCH] bugfixes on chest command and Plastic Granules recipe (thanks to Thorviss) --- basic_machines/chest.lua | 2 +- items/plastic.lua | 1 + solar/solarcell.lua | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/basic_machines/chest.lua b/basic_machines/chest.lua index a7f4ca6..5f4e0b3 100644 --- a/basic_machines/chest.lua +++ b/basic_machines/chest.lua @@ -346,7 +346,7 @@ techage.register_node({"techage:chest_ta4"}, { return techage.put_items(inv, "main", item, idx) end end, - on_unpull_item = function(pos, in_dir, stack) + on_unpull_item = function(pos, in_dir, item) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() local mem = techage.get_mem(pos) diff --git a/items/plastic.lua b/items/plastic.lua index e072a2a..efd12f4 100644 --- a/items/plastic.lua +++ b/items/plastic.lua @@ -17,6 +17,7 @@ local S = techage.S minetest.register_craftitem("techage:plastic_granules", { description = S("Plastic Granules"), inventory_image = "techage_powder_inv.png^[colorize:#FFFFFF:180", + groups = {powder = 1}, }) techage.recipes.add("ta4_doser", { diff --git a/solar/solarcell.lua b/solar/solarcell.lua index a22cf13..ee1c19b 100644 --- a/solar/solarcell.lua +++ b/solar/solarcell.lua @@ -252,7 +252,7 @@ minetest.register_craft({ output = "techage:ta4_solar_module", recipe = { {"techage:ta4_silicon_wafer", "techage:ta4_silicon_wafer", "techage:ta4_silicon_wafer"}, - {"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"}, + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, {"", "", ""}, }, })