From 4f1a44a80b5522db60125f3018c0ce80fbb9e3b4 Mon Sep 17 00:00:00 2001 From: kpoppel <poulsen.kim@gmail.com> Date: Mon, 03 Jun 2013 23:42:44 +0200 Subject: [PATCH] Removing ununsed textures. Added more safety to item_drop to get around a fatal server halt issue. --- 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