Add no_sneak_glitch
This commit is contained in:
parent
96cd334d4b
commit
4a54721d44
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…
x
Reference in New Issue
Block a user