disable_jump needs solid block to work
This commit is contained in:
parent
cba746e669
commit
28bcc8b73b
4
init.lua
4
init.lua
@ -661,7 +661,11 @@ doc.add_category("nodes", {
|
||||
---- Movement
|
||||
if not forbidden_core_factoids.node_movement then
|
||||
if data.def.groups.disable_jump == 1 then
|
||||
if data.def.walkable == true then
|
||||
datastring = datastring .. S("You can not jump while standing on this block.").."\n"
|
||||
elseif not data.def.climable then
|
||||
datastring = datastring .. S("You can not jump while inside this block.").."\n"
|
||||
end
|
||||
end
|
||||
if data.def.climbable == true then
|
||||
if data.def.groups.disable_jump == 1 and data.def.groups.disable_descend == 1 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user