From 467dcf1d5d2daccde8fe5cfb45317482fe004cc3 Mon Sep 17 00:00:00 2001 From: kpoppel <poulsen.kim@gmail.com> Date: Tue, 18 Jun 2013 19:18:23 +0200 Subject: [PATCH] Merge pull request #4 from RealBadAngel/indev --- technic/mining_laser_mk1.lua | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/technic/mining_laser_mk1.lua b/technic/mining_laser_mk1.lua index 87c121d..5bafb6c 100644 --- a/technic/mining_laser_mk1.lua +++ b/technic/mining_laser_mk1.lua @@ -57,8 +57,8 @@ on_use = function(itemstack, user, pointed_thing) item=itemstack:to_table() local meta=get_item_meta(item["metadata"]) - if meta==nil then return false end --tool not charghed - if meta["charge"]==nil then return false end + if meta==nil then return end --tool not charghed + if meta["charge"]==nil then return end charge=meta["charge"] if charge-400>0 then laser_shoot(item, user, pointed_thing) @@ -75,7 +75,7 @@ minetest.register_craft({ output = 'technic:laser_mk1', recipe = { - {'technic:diamond', 'default:steel_ingot', 'technic:battery'}, + {'default:diamond', 'default:steel_ingot', 'technic:battery'}, {'', 'default:steel_ingot', 'technic:battery'}, {'', '', 'moreores:copper_ingot'}, } -- Gitblit v1.8.0