mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
check for presence of moreblocks before overriding empty bookshelf
This commit is contained in:
parent
2e4dce266f
commit
d9f56ea229
@ -56,6 +56,7 @@ minetest.override_item("default:bookshelf", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.get_modpath("moreblocks") then
|
||||||
minetest.override_item("moreblocks:empty_bookshelf", {
|
minetest.override_item("moreblocks:empty_bookshelf", {
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
@ -80,3 +81,4 @@ minetest.override_item("moreblocks:empty_bookshelf", {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user