diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-11-06 22:09:06 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-11-06 22:23:00 -0500 |
commit | 8ad052881cb40032db63cbc9c76ae3c9786f8ef9 (patch) | |
tree | d8ae1dfd19f079c1a0aa9d0b2f026e1647cc8482 | |
parent | d886f340035d35e0cfc12dc57e35679430830919 (diff) | |
download | minetest-8ad052881cb40032db63cbc9c76ae3c9786f8ef9.tar.gz minetest-8ad052881cb40032db63cbc9c76ae3c9786f8ef9.tar.bz2 minetest-8ad052881cb40032db63cbc9c76ae3c9786f8ef9.zip |
Fix orient_flags to be optional.
-rw-r--r-- | builtin/misc_helpers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/misc_helpers.lua b/builtin/misc_helpers.lua index d847db42c..c9bc59c3a 100644 --- a/builtin/misc_helpers.lua +++ b/builtin/misc_helpers.lua @@ -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] |