forked from mtcontrib/pipeworks
fix incorrect variable name
This commit is contained in:
parent
eabced6976
commit
2481c06bf0
@ -425,7 +425,7 @@ minetest.register_node("pipeworks:entry_panel_empty", {
|
|||||||
minetest.add_node(pos1, {name = "pipeworks:entry_panel_empty", param2 = fdir })
|
minetest.add_node(pos1, {name = "pipeworks:entry_panel_empty", param2 = fdir })
|
||||||
pipeworks.scan_for_pipe_objects(pos1)
|
pipeworks.scan_for_pipe_objects(pos1)
|
||||||
|
|
||||||
if not pipeworks_expect_infinite_stacks then
|
if not pipeworks.expect_infinite_stacks then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
2
init.lua
2
init.lua
@ -40,7 +40,7 @@ end
|
|||||||
|
|
||||||
pipeworks.expect_infinite_stacks = true
|
pipeworks.expect_infinite_stacks = true
|
||||||
if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then
|
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
|
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}}
|
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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user