mirror of
https://github.com/minetest-mods/carpets.git
synced 2025-01-02 02:07:31 +01:00
material/formation renamed to base_material/shape_type
This commit is contained in:
parent
494e61a8b9
commit
d12d29970c
4
api.lua
4
api.lua
@ -37,8 +37,8 @@ function carpets.register(recipe, def)
|
|||||||
node.tiles = {node.tiles[6]}
|
node.tiles = {node.tiles[6]}
|
||||||
end
|
end
|
||||||
node.groups.leafdecay = nil
|
node.groups.leafdecay = nil
|
||||||
node.material = recipe
|
node.base_material = recipe
|
||||||
node.formation = "carpet"
|
node.shape_type = "carpet"
|
||||||
|
|
||||||
if config:get_bool("FallingCarpet") and node.groups.falling_node == nil then
|
if config:get_bool("FallingCarpet") and node.groups.falling_node == nil then
|
||||||
node.groups.falling_node = 1
|
node.groups.falling_node = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user