Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Sys Quatre 2021-01-29 17:43:11 +01:00
commit 4950143a00
2 changed files with 9 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Nether Mod for Minetest, with Portals API.
Enables Nether portals to be built, opening a gateway between the surface
realm and one of lava and netherrack, with rumors of a passageway to a great
magma ocean.
Allows Nether portals to be constructed, opening a gateway between the surface
realm and one of lava and netherrack, with rumors of a passageway through the
netherrack to a great magma ocean.
To view the options provided by this mod, see settingtypes.txt or
go to "Settings"->"All Settings"->"Mods"->"nether" in the game.
@ -23,6 +23,11 @@ might need to be constructed from basalt, thus requiring a journey through
the nether first, or basalt might be a crafting ingredient required to reach
a particular branch of the tech-tree.
Netherbrick tools are provided (pick, shovel, axe, & sword), see tools.lua
Nether Portals can allow surface fast-travel.
## License of source code:
Copyright (C) 2013 PilzAdam

View File

@ -374,7 +374,7 @@ minetest.register_on_mods_loaded(function()
-- register a bucket of Lava-sea source - but make it just the same bucket as default lava.
-- (by doing this in register_on_mods_loaded we don't need to declare a soft dependency)
if minetest.get_modpath("bucket") and minetest.global_exists("bucket") then
if minetest.get_modpath("bucket") and minetest.global_exists("bucket") and type(bucket.liquids) == "table" then
local lava_bucket = bucket.liquids["default:lava_source"]
if lava_bucket ~= nil then
local lavasea_bucket = {}