forked from minetest-mods/moreblocks
Run cleanfile on all files, fixing whitespace issues.
This commit is contained in:
parent
d587b4d23f
commit
5500c9906c
@ -77,4 +77,3 @@ minetest.register_abm({
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -358,4 +358,3 @@ minetest.register_craftitem("moreblocks:nothing", {
|
|||||||
inventory_image = "invisible.png",
|
inventory_image = "invisible.png",
|
||||||
on_use = function() end,
|
on_use = function() end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -22,11 +22,11 @@ function moreblocks.node_is_owned(pos, placer)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif type(isprotect)=="function" then -- glomie's protection mod
|
elseif type(isprotect)=="function" then -- glomie's protection mod
|
||||||
if not isprotect(5, pos, placer) then
|
if not isprotect(5, pos, placer) then
|
||||||
ownername = S("someone")
|
ownername = S("someone")
|
||||||
end
|
end
|
||||||
elseif type(protector)=="table" and type(protector.can_dig)=="function" then -- Zeg9's protection mod
|
elseif type(protector)=="table" and type(protector.can_dig)=="function" then -- Zeg9's protection mod
|
||||||
if not protector.can_dig(5, pos, placer) then
|
if not protector.can_dig(5, pos, placer) then
|
||||||
ownername = S("someone")
|
ownername = S("someone")
|
||||||
end
|
end
|
||||||
|
@ -136,4 +136,3 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -86,11 +86,11 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields)
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- uncomment this rule when conflict is no longer likely to happen
|
-- uncomment this rule when conflict is no longer likely to happen
|
||||||
-- https://github.com/minetest/minetest/issues/2881
|
-- https://github.com/minetest/minetest/issues/2881
|
||||||
-- minetest.register_craft({
|
-- minetest.register_craft({
|
||||||
-- type = "shapeless",
|
-- type = "shapeless",
|
||||||
-- output = modname .. ":slab_" .. subname,
|
-- output = modname .. ":slab_" .. subname,
|
||||||
-- recipe = {modname .. ":panel_" .. subname, modname .. ":panel_" .. subname},
|
-- recipe = {modname .. ":panel_" .. subname, modname .. ":panel_" .. subname},
|
||||||
-- })
|
-- })
|
||||||
|
|
||||||
-- then remove these two
|
-- then remove these two
|
||||||
|
Loading…
Reference in New Issue
Block a user