mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Fix covered node rendering, update doc. Fix default inventory image for covered/sunken nodes.
This commit is contained in:
parent
a91e532b29
commit
d14f2f4bdd
4 changed files with 20 additions and 87 deletions
|
@ -150,14 +150,6 @@ local function preprocess_node(nodedef)
|
|||
if nodedef.liquidtype == "flowing" then
|
||||
nodedef.paramtype2 = "flowingliquid"
|
||||
end
|
||||
|
||||
if itemdef.type == "node" and (itemdef.drawtype == "sunken" or itemdef.drawtype == "covered") then
|
||||
if not core.registered_nodes[itemdef.inner_node] then
|
||||
error("Unable to register item " .. name .. ": Inner node not registered: " .. itemdef.inner_node)
|
||||
end
|
||||
else
|
||||
itemdef.inner_node = nil
|
||||
end
|
||||
end
|
||||
|
||||
local function preprocess_craft(itemdef)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue