1
0
Fork 0

Make shulker boxes rotatable on place

objects
Wuzzy 2017-06-12 22:36:31 +02:00
parent 06a8a810be
commit 38e30fee8d
1 changed files with 2 additions and 0 deletions

View File

@ -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",