forked from Mineclonia/Mineclonia
Fix shulker box content being destroyed, but disable rotation
This commit is contained in:
parent
3fb5ce8ab0
commit
4e5667541e
|
@ -602,7 +602,9 @@ for color, desc in pairs(boxtypes) do
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype2 = "facedir",
|
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)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
|
|
Loading…
Reference in New Issue