diff --git a/mods/craftingpack/crafting/creative.lua b/mods/craftingpack/crafting/creative.lua index 89d523af..f1b8ae4e 100644 --- a/mods/craftingpack/crafting/creative.lua +++ b/mods/craftingpack/crafting/creative.lua @@ -382,7 +382,9 @@ end) if minetest.setting_getbool("creative_mode") then minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack) - return true + -- Place infinite nodes, except for shulker boxes + local group = minetest.get_item_group(itemstack:get_name(), "shulker_box") + return group == 0 or group == nil end) function minetest.handle_node_drops(pos, drops, digger)