From 23f23b5cb21ebb15775c8eeec794fbc5650defeb Mon Sep 17 00:00:00 2001 From: ezhh Date: Sun, 3 Jul 2016 19:17:38 +0100 Subject: [PATCH] Formatting --- init.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/init.lua b/init.lua index 9d4f059..dd20846 100644 --- a/init.lua +++ b/init.lua @@ -39,11 +39,11 @@ end) --reduces player movement speed local function slowmo(name, param) - local player = minetest.get_player_by_name(param) - local privs=minetest.get_player_privs(param) - privs.slowed=true - minetest.set_player_privs(param,privs) - player:set_physics_override({speed = 0.3}) + local player = minetest.get_player_by_name(param) + local privs=minetest.get_player_privs(param) + privs.slowed=true + minetest.set_player_privs(param,privs) + player:set_physics_override({speed = 0.3}) end minetest.register_chatcommand("slowmo", { @@ -71,11 +71,11 @@ end) --disable sneak glitch for the player. local function noglitch(name, param) - local player = minetest.get_player_by_name(param) - local privs=minetest.get_player_privs(param) - privs.unglitched=true - minetest.set_player_privs(param,privs) - player:set_physics_override({sneak = false}) + local player = minetest.get_player_by_name(param) + local privs=minetest.get_player_privs(param) + privs.unglitched=true + minetest.set_player_privs(param,privs) + player:set_physics_override({sneak = false}) end minetest.register_chatcommand("noglitch", {