Merge branch 'master' into longcats
This commit is contained in:
commit
53068f5145
6
node.lua
6
node.lua
@ -48,7 +48,11 @@ local function reg(id, base, spot)
|
||||
},
|
||||
stack_max = 1,
|
||||
paramtype2 = "facedir",
|
||||
on_place = minetest.rotate_and_place,
|
||||
on_place = function(stack, placer, pointed, inf, orient, ...)
|
||||
orient = orient or {}
|
||||
orient.invert_wall = pointed.above.y == pointed.under.y
|
||||
return minetest.rotate_and_place(stack, placer, pointed, inf, orient, ...)
|
||||
end,
|
||||
sounds = nodecore.sounds(modname .. "_mew"),
|
||||
preserve_metadata = function(_, _, oldmeta, drops)
|
||||
drops[1]:get_meta():from_table({fields = oldmeta})
|
||||
|
Loading…
x
Reference in New Issue
Block a user