From 4e5667541e10e2e23f639f3f1e3ea5cd4e46aa6b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 13 Jun 2017 18:15:08 +0200 Subject: [PATCH] Fix shulker box content being destroyed, but disable rotation --- mods/ITEMS/mcl_chests/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_chests/init.lua b/mods/ITEMS/mcl_chests/init.lua index c08710c8b2..743b47707f 100644 --- a/mods/ITEMS/mcl_chests/init.lua +++ b/mods/ITEMS/mcl_chests/init.lua @@ -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",