From 2ce071ec1697598cd7960921dd6b69b5b290ae95 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 2 Feb 2017 10:25:29 -0500 Subject: [PATCH] fix crash in stack_sideways (typo) --- homedecor/handlers/expansion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homedecor/handlers/expansion.lua b/homedecor/handlers/expansion.lua index 705f313..b3e78c8 100644 --- a/homedecor/handlers/expansion.lua +++ b/homedecor/handlers/expansion.lua @@ -171,7 +171,7 @@ function homedecor.stack_sideways(itemstack, placer, pointed_thing, node1, node2 if not pos then return itemstack end local fdir = minetest.dir_to_facedir(placer:get_look_dir()) - local fdir_transform = dir and homedecor.fdir_to_right or homedecor.dir_to_fwd + local fdir_transform = dir and homedecor.fdir_to_right or homedecor.fdir_to_fwd local pos2 = { x = pos.x + fdir_transform[fdir+1][1], y=pos.y, z = pos.z + fdir_transform[fdir+1][2] }