``` minetest.register_node("enchanting:enchanting_table", { description = "Enchantment table", category = "decoration", drawtype = "nodebox", node_box = { type = "fixed", fixed = { {-0.5, -0.5, -0.5, 0.5, 0.25, 0.5}, -- Table } }, tiles = {"enchanting_table_top.png", "enchanting_table_bottom.png", "enchanting_table_side.png"}, groups = {oddly_breakable_by_hand = 1}, on_place = function(itemstack, placer, pointed_thing) --minetest.add_entity({x = pointed_thing.above.x, y = pointed_thing.above.y + 0.5, z = pointed_thing.above.z}, "enchanting:enchanting_table_book") --if not minetest.setting_getbool("creative_mode") then itemstack:take_item() --end return itemstack end, on_dig = function(pos, node, player) print("TEST") local objects = minetest.get_objects_inside_radius(pos, 5) for _, obj in ipairs(objects) do for key, value in pairs(obj) do print(key) end if obj.name == "enchanting.enchanting_table_book" then obj:remove() end end end }) ```