From 63cc81ea677322ac3a97180f3920cc6d8e3eb954 Mon Sep 17 00:00:00 2001 From: kpoppel <poulsen.kim@gmail.com> Date: Tue, 04 Jun 2013 23:39:24 +0200 Subject: [PATCH] Merge pull request #22 from kpoppel/master --- technic/sonic_screwdriver.lua | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/technic/sonic_screwdriver.lua b/technic/sonic_screwdriver.lua index ffd2984..97ec446 100644 --- a/technic/sonic_screwdriver.lua +++ b/technic/sonic_screwdriver.lua @@ -14,8 +14,8 @@ if node.param2==nil then return end item=itemstack:to_table() local meta1=get_item_meta(item["metadata"]) - if meta1==nil then return false end --tool not charghed - if meta1["charge"]==nil then return false end + if meta1==nil then return end --tool not charghed + if meta1["charge"]==nil then return end charge=meta1["charge"] if charge-100>0 then minetest.sound_play("technic_sonic_screwdriver", {pos = pos, gain = 0.3, max_hear_distance = 10,}) @@ -52,7 +52,7 @@ minetest.register_craft({ output = "technic:sonic_screwdriver", recipe = { - {"technic:diamond"}, + {"default:diamond"}, {"technic:battery"}, {"technic:stainless_steel_ingot"} } -- Gitblit v1.8.0