mirror of
https://codeberg.org/tenplus1/bakedclay.git
synced 2025-01-02 14:28:22 +01:00
Fixed moreblocks' stairsplus checking
This commit is contained in:
parent
7c39b7cbfe
commit
144d36cc63
@ -1,3 +1,4 @@
|
|||||||
default
|
default
|
||||||
stairs
|
stairs
|
||||||
|
moreblocks?
|
||||||
lucky_block?
|
lucky_block?
|
2
init.lua
2
init.lua
@ -42,7 +42,7 @@ for _, clay in pairs(clay) do
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- register stairsplus stairs if found
|
-- register stairsplus stairs if found
|
||||||
if minetest.global_exists("stairsplus") then
|
if minetest.get_modpath("moreblocks") then
|
||||||
|
|
||||||
stairsplus:register_all("bakedclay", "baked_clay_" .. clay[1], "bakedclay:" .. clay[1], {
|
stairsplus:register_all("bakedclay", "baked_clay_" .. clay[1], "bakedclay:" .. clay[1], {
|
||||||
description = clay[2] .. " Baked Clay",
|
description = clay[2] .. " Baked Clay",
|
||||||
|
Loading…
Reference in New Issue
Block a user