update base:drop component
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
function make_read_only(t)
|
||||
setmetatable(t, {
|
||||
__newindex = function()
|
||||
error("table is read-only")
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
make_read_only(block.properties)
|
||||
for k,v in pairs(block.properties) do
|
||||
make_read_only(v)
|
||||
end
|
||||
Reference in New Issue
Block a user