forked from mtcontrib/minetest-mod-snow
Small fixes for the latest version of minetest.
This commit is contained in:
@ -130,6 +130,12 @@ minetest.override_item("default:snow", {
|
||||
}
|
||||
}
|
||||
},
|
||||
node_box = {
|
||||
type = "leveled",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, -0.5+2/16, 0.5},
|
||||
},
|
||||
},
|
||||
groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3,falling_node=1, melts=2, float=1},
|
||||
sunlight_propagates = true,
|
||||
--Disable placement prediction for snow.
|
||||
|
@ -48,7 +48,7 @@ local function loadConfig(path)
|
||||
io.close(file)
|
||||
for line in io.lines(path) do
|
||||
if line:sub(1,1) ~= "#" then
|
||||
i, v = line:match("^(%S*) = (%S*)")
|
||||
local i, v = line:match("^(%S*) = (%S*)")
|
||||
if i and v then
|
||||
if v == "true" then v = true end
|
||||
if v == "false" then v = false end
|
||||
|
Reference in New Issue
Block a user