1
0
Fork 0

Fix shulker box content being destroyed, but disable rotation

objects
Wuzzy 2017-06-13 18:15:08 +02:00
parent 3fb5ce8ab0
commit 4e5667541e
1 changed files with 3 additions and 1 deletions

View File

@ -602,7 +602,9 @@ for color, desc in pairs(boxtypes) do
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "facedir",
on_place = minetest.rotate_node,
-- TODO: Make shulker boxes rotatable
-- This doesn't work, it just destroys the inventory:
-- on_place = minetest.rotate_node,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec",