From 6dded8a850c806bc7aa49c1938c59cb104031d85 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 2 Jul 2016 17:30:30 +0200 Subject: [PATCH] Initial commit --- depends.txt | 0 description.txt | 1 + init.lua | 3 +++ mod.conf | 1 + 4 files changed, 5 insertions(+) create mode 100644 depends.txt create mode 100644 description.txt create mode 100644 init.lua create mode 100644 mod.conf diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..e69de29 diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..cdefa4e --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +This mod disables the sneak glitch for all players. diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..79655a4 --- /dev/null +++ b/init.lua @@ -0,0 +1,3 @@ +minetest.register_on_joinplayer(function(player) + player:set_physics_override({sneak_glitch=false, sneak=false}) +end) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..0d2f803 --- /dev/null +++ b/mod.conf @@ -0,0 +1 @@ +name = no_sneak_glitch