summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 97d295e..608a819 100644
--- a/init.lua
+++ b/init.lua
@@ -320,7 +320,7 @@ doc.new_category("nodes", {
if fdap ~= nil then
if fdap > 0 then
datastring = datastring .. "The fall damage on this block is increased by "..fdap.."%.\n"
- elseif fdap == -100 then
+ elseif fdap <= -100 then
datastring = datastring .. "This block negates all fall damage.\n"
else
datastring = datastring .. "The fall damage on this block is reduced by "..math.abs(fdap).."%.\n"