Make shulker boxes rotatable on place

This commit is contained in:
Wuzzy 2017-06-12 22:36:31 +02:00
parent 06a8a810be
commit 38e30fee8d

@ -599,6 +599,8 @@ for color, desc in pairs(boxtypes) do
sounds = mcl_sounds.node_sound_stone_defaults(),
stack_max = 1,
drop = "",
paramtype2 = "facedir",
on_place = minetest.rotate_node,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec",