summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-10-10 00:01:49 +0200
committerWuzzy <almikes@aol.com>2016-10-10 00:01:49 +0200
commit7b872ce44dcd0f2b73cbbf1f0d439e02d57e24ba (patch)
tree11a73052e6bec149555a9aea95ff4f50af5b9527 /init.lua
parent11d763b8842407159b780e103c173d77df257b26 (diff)
Fall damage disabled for <= -100
Diffstat (limited to 'init.lua')
-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"