mirror of
https://github.com/minetest-mods/nether.git
synced 2024-12-28 20:00:30 +01:00
Fix dissappearing portals and stone; renamce nethersand and -rack
This commit is contained in:
parent
d054a4e58a
commit
da48d679f7
7
init.lua
7
init.lua
@ -136,6 +136,7 @@ minetest.register_abm({
|
|||||||
if n and n.name ~= "nether:portal" then
|
if n and n.name ~= "nether:portal" then
|
||||||
build_portal(target, pos)
|
build_portal(target, pos)
|
||||||
minetest.after(2, check_and_build_portal, pos, target)
|
minetest.after(2, check_and_build_portal, pos, target)
|
||||||
|
minetest.after(4, check_and_build_portal, pos, target)
|
||||||
elseif not n then
|
elseif not n then
|
||||||
minetest.after(1, check_and_build_portal, pos, target)
|
minetest.after(1, check_and_build_portal, pos, target)
|
||||||
end
|
end
|
||||||
@ -326,7 +327,7 @@ minetest.register_craftitem(":default:mese_crystal_fragment", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nether:netherrack", {
|
minetest.register_node("nether:rack", {
|
||||||
description = "Netherrack",
|
description = "Netherrack",
|
||||||
tiles = {"nether_netherrack.png"},
|
tiles = {"nether_netherrack.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -334,7 +335,7 @@ minetest.register_node("nether:netherrack", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nether:nethersand", {
|
minetest.register_node("nether:sand", {
|
||||||
description = "Nethersand",
|
description = "Nethersand",
|
||||||
tiles = {"nether_nethersand.png"},
|
tiles = {"nether_nethersand.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -354,7 +355,7 @@ minetest.register_node("nether:glowstone", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
local function replace(old, new)
|
local function replace(old, new)
|
||||||
for i=1,6 do
|
for i=1,8 do
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "scatter",
|
ore_type = "scatter",
|
||||||
ore = new,
|
ore = new,
|
||||||
|
Loading…
Reference in New Issue
Block a user