mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-18 07:40:38 +02:00
Compare commits
4 Commits
v2.0.0
...
6a6a22f699
Author | SHA1 | Date | |
---|---|---|---|
6a6a22f699 | |||
88726c5913 | |||
cd0d527c8f | |||
3cbc708742 |
@ -49,6 +49,8 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
|
||||
"desert_sandstone_block",
|
||||
"sandstone_block",
|
||||
"coral_skeleton",
|
||||
"ice",
|
||||
"snowblock",
|
||||
}
|
||||
|
||||
for _, name in pairs(default_nodes) do
|
||||
@ -57,6 +59,11 @@ for _, name in pairs(default_nodes) do
|
||||
local ndef = table.copy(minetest.registered_nodes[nodename])
|
||||
ndef.sunlight_propagates = true
|
||||
|
||||
-- Workaround to fix node orientation (minetest >= 0.4.17.1)
|
||||
if ndef.place_param2 == 0 then
|
||||
ndef.place_param2 = nil
|
||||
end
|
||||
|
||||
-- Stone and desert_stone drop cobble and desert_cobble respectively.
|
||||
if type(ndef.drop) == "string" then
|
||||
ndef.drop = ndef.drop:gsub(".+:", "")
|
||||
|
Reference in New Issue
Block a user