mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
Fix olddef
This commit is contained in:
parent
9e14876dae
commit
c5d7b85c71
1 changed files with 2 additions and 1 deletions
|
@ -647,7 +647,8 @@ minetest.register_node("default:snow", {
|
|||
return itemstack, false
|
||||
end
|
||||
|
||||
local olddef_under = minetest.registered_nodes[oldnode_under.name]
|
||||
-- Dummy def used for olddef_under (unknown nodes treated as solid nodes)
|
||||
local olddef_under = olddef_under or {}
|
||||
if not olddef_under then
|
||||
return itemstack, false
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue