Add no_sneak_glitch

This commit is contained in:
rubenwardy 2015-11-30 20:29:18 +00:00
parent 96cd334d4b
commit 4a54721d44
3 changed files with 4 additions and 0 deletions

View file

View file

@ -0,0 +1 @@
This mod disables the sneak glitch for all players.

View file

@ -0,0 +1,3 @@
minetest.register_on_joinplayer(function(player)
player:set_physics_override({sneak_glitch=false, sneak=false})
end)