From 199fb62108e30f0c784583ca5c5add19ca36c02f Mon Sep 17 00:00:00 2001 From: Carter Kolwey Date: Wed, 11 Jan 2017 16:02:28 -0600 Subject: Properly handle missing screwdriver mod --- mesecons_extrawires/tjunction.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_extrawires/tjunction.lua') diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 3d991d0..079d88c 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -38,7 +38,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { sunlight_propagates = true, selection_box = tjunction_selectionbox, node_box = tjunction_nodebox, - on_rotate = screwdriver.rotate_simple, + on_rotate = mesecon.rotate_simple, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, drop = "mesecons_extrawires:tjunction_off", mesecons = {conductor = @@ -66,7 +66,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { sunlight_propagates = true, selection_box = tjunction_selectionbox, node_box = tjunction_nodebox, - on_rotate = screwdriver.rotate_simple, + on_rotate = mesecon.rotate_simple, groups = {dig_immediate = 3}, mesecons = {conductor = { -- cgit v1.2.3