From b4b71f5dc83ece2e7941c787f9d0492ca75202ce Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Thu, 6 May 2021 21:45:12 -0700 Subject: [PATCH] Cleanup --- functions.lua | 2 +- spawn.lua | 2 -- tnt_function.lua | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/functions.lua b/functions.lua index 8cf29f2..aa4b05b 100644 --- a/functions.lua +++ b/functions.lua @@ -9,5 +9,5 @@ end -- Retrieves pos coordinates in string value function sneeker.get_pos_string(pos) - return 'x=' .. tostring(pos.x) .. ', y=' .. tostring(pos.y) .. ', z=' .. tostring(pos.z) + return "x=" .. tostring(pos.x) .. ", y=" .. tostring(pos.y) .. ", z=" .. tostring(pos.z) end diff --git a/spawn.lua b/spawn.lua index db75c34..31b3060 100644 --- a/spawn.lua +++ b/spawn.lua @@ -1,5 +1,3 @@ --- Original code by Rui: WTFPL - local time_hr = sneeker.time_min * 60 local time_day = time_hr * 24 diff --git a/tnt_function.lua b/tnt_function.lua index 2fdabe1..30c0c29 100644 --- a/tnt_function.lua +++ b/tnt_function.lua @@ -1,5 +1,3 @@ --- Original code by Rui: WTFPL - -- From TNT local cid_data = {} @@ -187,7 +185,7 @@ local function explode(pos, radius) return drops end -function sneeker.boom(pos,large) +function sneeker.boom(pos, large) local radius = radius if large then radius = large_radius