1
0
Fork 0

Fix crash when placing snow layers on unknown nodes

This commit is contained in:
cora 2023-09-03 20:33:26 +02:00 committed by MrRar
parent a648e53699
commit e9d202ee83
1 changed files with 1 additions and 1 deletions

View File

@ -1038,7 +1038,7 @@ for i=1,8 do
-- Get position where snow would be placed -- Get position where snow would be placed
local target local target
if minetest.registered_nodes[unode.name].buildable_to then if def and def.buildable_to then
target = under target = under
else else
target = above target = above