Support "negative" bouncy values
This commit is contained in:
parent
947df2bd6e
commit
d9acd10977
2
init.lua
2
init.lua
@ -669,7 +669,7 @@ doc.add_category("nodes", {
|
||||
end
|
||||
local bouncy = data.def.groups.bouncy
|
||||
if bouncy ~= nil and bouncy ~= 0 then
|
||||
datastring = datastring .. S("This block will make you bounce off with an elasticity of @1%.", bouncy).."\n"
|
||||
datastring = datastring .. S("This block will make you bounce off with an elasticity of @1%.", math.abs(bouncy)).."\n"
|
||||
end
|
||||
local slippery = data.def.groups.slippery
|
||||
if slippery ~= nil and slippery ~= 0 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user