diff --git a/mods/no_sneak_glitch/depends.txt b/mods/no_sneak_glitch/depends.txt new file mode 100644 index 0000000..e69de29 diff --git a/mods/no_sneak_glitch/description.txt b/mods/no_sneak_glitch/description.txt new file mode 100644 index 0000000..cdefa4e --- /dev/null +++ b/mods/no_sneak_glitch/description.txt @@ -0,0 +1 @@ +This mod disables the sneak glitch for all players. diff --git a/mods/no_sneak_glitch/init.lua b/mods/no_sneak_glitch/init.lua new file mode 100644 index 0000000..79655a4 --- /dev/null +++ b/mods/no_sneak_glitch/init.lua @@ -0,0 +1,3 @@ +minetest.register_on_joinplayer(function(player) + player:set_physics_override({sneak_glitch=false, sneak=false}) +end)