From 728f0b217120da1fe21f773e449b1ac43b09d996 Mon Sep 17 00:00:00 2001 From: Jordach Date: Tue, 28 Nov 2017 21:16:37 +0000 Subject: [PATCH] make sense of maintainence messages instead of being the same line over and over --- mods/auto_maintainence/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/auto_maintainence/init.lua b/mods/auto_maintainence/init.lua index 3532bf6..f36e32e 100644 --- a/mods/auto_maintainence/init.lua +++ b/mods/auto_maintainence/init.lua @@ -69,10 +69,12 @@ local function check_for_players() is_shutting_down = false minetest.cancel_shutdown_requests() - + + print("[Maintainence]: Player joined the server during shutdown, aborting shutdown.") + end - print("[Maintainence]: Server will not reboot until a player joins and leaves first.") + print("[Maintainence]: Players active on server, shutdown delayed by 2 minutes.") elseif players_joined == 0 then