From 4e5760a5416cbca6945b1b4484cbd96bea7b250c Mon Sep 17 00:00:00 2001 From: Novatux Date: Sun, 6 Oct 2013 12:15:14 +0200 Subject: [PATCH] Fix minetest.facedir_to_dir when param2 is 5 or 7. --- builtin/item.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/item.lua b/builtin/item.lua index 5f3c7177..f07566b8 100644 --- a/builtin/item.lua +++ b/builtin/item.lua @@ -98,7 +98,7 @@ function minetest.facedir_to_dir(facedir) --indexed into by a table of correlating facedirs [({[0]=1, 2, 3, 4, - 5, 2, 6, 4, + 5, 4, 6, 2, 6, 2, 5, 4, 1, 5, 3, 6, 1, 6, 3, 5,