From 2481c06bf0214c3a0723e31c05166ac9983eef77 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 15 Dec 2013 05:26:39 -0500 Subject: [PATCH] fix incorrect variable name --- devices.lua | 2 +- init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devices.lua b/devices.lua index ffe56a9..46ed873 100644 --- a/devices.lua +++ b/devices.lua @@ -425,7 +425,7 @@ minetest.register_node("pipeworks:entry_panel_empty", { minetest.add_node(pos1, {name = "pipeworks:entry_panel_empty", param2 = fdir }) pipeworks.scan_for_pipe_objects(pos1) - if not pipeworks_expect_infinite_stacks then + if not pipeworks.expect_infinite_stacks then itemstack:take_item() end diff --git a/init.lua b/init.lua index 101bb52..178864a 100644 --- a/init.lua +++ b/init.lua @@ -40,7 +40,7 @@ end pipeworks.expect_infinite_stacks = true if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then - pipeworks_expect_infinite_stacks = false + pipeworks.expect_infinite_stacks = false end pipeworks.meseadjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}} -- 2.30.2