Add no_sneak_glitch
This commit is contained in:
parent
96cd334d4b
commit
4a54721d44
3 changed files with 4 additions and 0 deletions
0
mods/no_sneak_glitch/depends.txt
Normal file
0
mods/no_sneak_glitch/depends.txt
Normal file
1
mods/no_sneak_glitch/description.txt
Normal file
1
mods/no_sneak_glitch/description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
This mod disables the sneak glitch for all players.
|
3
mods/no_sneak_glitch/init.lua
Normal file
3
mods/no_sneak_glitch/init.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
minetest.register_on_joinplayer(function(player)
|
||||
player:set_physics_override({sneak_glitch=false, sneak=false})
|
||||
end)
|
Loading…
Reference in a new issue