Fix player sneakjump in twilight

Fix a bug that caused the player to not be able to sneakjump after exiting twilight mode.
master
Christopher Wells 2017-01-05 17:50:43 -05:00
parent ed12e9a45f
commit c4edb6436a
No known key found for this signature in database
GPG Key ID: AFE2DF9F8FFED2C4
1 changed files with 2 additions and 2 deletions

View File

@ -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
})
})