From b6a647e1192b39576be7c0235567fda6bf953720 Mon Sep 17 00:00:00 2001 From: cora Date: Tue, 3 May 2022 22:18:07 +0200 Subject: [PATCH] remove unused vars --- mods/ITEMS/mcl_blackstone/init.lua | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/mods/ITEMS/mcl_blackstone/init.lua b/mods/ITEMS/mcl_blackstone/init.lua index 31ebc14e6..7ffbb40d5 100644 --- a/mods/ITEMS/mcl_blackstone/init.lua +++ b/mods/ITEMS/mcl_blackstone/init.lua @@ -1,23 +1,10 @@ local S = minetest.get_translator("mcl_blackstone") -local N = function(s) return s end -local LIGHT_TORCH = 10 -stairs = {} ---nodes -local mod_screwdriver = minetest.get_modpath("screwdriver") ~= nil local on_rotate -if mod_screwdriver then +if minetest.get_modpath("screwdriver") then on_rotate = screwdriver.rotate_3way end -local alldirs = { - vector.new(1,0,0), - vector.new(0,1,0), - vector.new(0,0,1), - vector.new(-1,0,0), - vector.new(0,-1,0), - vector.new(0,0,-1) -} --Blocks minetest.register_node("mcl_blackstone:blackstone", {