From dd3513c125597ff695f1ad578272996f54dd4e1b Mon Sep 17 00:00:00 2001 From: MistUnky Date: Thu, 2 Jun 2022 13:56:43 -0400 Subject: [PATCH] sneak glitch --- mods/default/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/default/init.lua b/mods/default/init.lua index 61d5e1f..b0394eb 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -19,3 +19,7 @@ dofile(minetest.get_modpath("default").."/craftitems.lua") dofile(minetest.get_modpath("default").."/crafting.lua") dofile(minetest.get_modpath("default").."/mapgen.lua") dofile(minetest.get_modpath("default").."/player.lua") + +minetest.register_on_joinplayer(function(player) + player:set_physics_override({sneak_glitch = true, sneak = true, new_move = false}) +end)