Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix orient_flags to be optional.
  • Loading branch information
Vanessa Ezekowitz authored and kwolekr committed Nov 7, 2013
1 parent d886f34 commit 8ad0528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/misc_helpers.lua
Expand Up @@ -212,6 +212,7 @@ if minetest then
local dirs2 = { 20, 23, 22, 21 }

function minetest.rotate_and_place(itemstack, placer, pointed_thing, infinitestacks, orient_flags)
orient_flags = orient_flags or {}

local node = minetest.get_node(pointed_thing.under)
if not minetest.registered_nodes[node.name]
Expand Down

0 comments on commit 8ad0528

Please sign in to comment.