Fix player sneakjump in twilight
Fix a bug that caused the player to not be able to sneakjump after exiting twilight mode.master
parent
ed12e9a45f
commit
c4edb6436a
|
@ -210,7 +210,7 @@ else
|
|||
jump = 1.0, -- multiplier to default value
|
||||
gravity = 1.0, -- multiplier to default value
|
||||
sneak = true, -- whether player can sneak
|
||||
sneak_glitch = false, -- whether player can use the sneak glitch
|
||||
sneak_glitch = true, -- whether player can use the sneak glitch
|
||||
|
||||
})
|
||||
end
|
||||
|
@ -230,4 +230,4 @@ minetest.register_craftitem("twilight:crystal", {
|
|||
return itemstack
|
||||
end
|
||||
end
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue