Skip to content
Snippets Groups Projects
Commit 8ad05288 authored by Vanessa Dannenberg's avatar Vanessa Dannenberg Committed by kwolekr
Browse files

Fix orient_flags to be optional.

parent d886f340
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment