aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/lua_api.txt3
-rw-r--r--src/ban.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 5244ff221..eefcc68a2 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1986,12 +1986,11 @@ Node definition (register_node)
liquid_alternative_flowing = "", -- Flowing version of source liquid
liquid_alternative_source = "", -- Source version of flowing liquid
liquid_viscosity = 0, -- Higher viscosity = slower flow (max. 7)
- liquid_renewable = true, -- Can new liquid source be created by placing
+ liquid_renewable = true, -- Can new liquid source be created by placing two or more sources nearby?
freezemelt = "", -- water for snow/ice, ice/snow for water
leveled = 0, -- Block contain level in param2. value - default level, used for snow. Dont forget use "leveled" type nodebox
liquid_range = 8, -- number of flowing nodes arround source (max. 8)
drowning = 0, -- Player will take this amount of damage if no bubbles are left
- two or more sources nearly?
light_source = 0, -- Amount of light emitted by node
damage_per_second = 0, -- If player is inside node, this damage is caused
node_box = {type="regular"}, -- See "Node boxes"
diff --git a/src/ban.cpp b/src/ban.cpp
index f9d32b605..25d7f4ccb 100644
--- a/src/ban.cpp
+++ b/src/ban.cpp
@@ -88,7 +88,7 @@ void BanManager::save()
if(!fs::safeWriteToFile(m_banfilepath, ss.str())) {
infostream<<"BanManager: failed saving to "<<m_banfilepath<<std::endl;
- throw SerializationError("BanManager::load(): Couldn't write file");
+ throw SerializationError("BanManager::save(): Couldn't write file");
}
m_modified = false;