From c8384c10cebd4efadeff7b6299c6e8ff22a15a1b Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Tue, 12 Jan 2016 11:39:52 +0100 Subject: [PATCH] Update init.lua --- src/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/init.lua b/src/init.lua index 5d446d1..c891070 100644 --- a/src/init.lua +++ b/src/init.lua @@ -25,6 +25,8 @@ local function crash(err) if _CC_VERSION then print("CC Version: ".._CC_VERSION) print("MC Version: ".._MC_VERSION) + elseif _HOST then + print("Host: ".._HOST) else print("CC Version: Under 1.74") print("MC Version: Undefined") @@ -33,7 +35,9 @@ local function crash(err) term.setTextColor(colors.black) end print("LUA Version: ".._VERSION) - print("LUAJ Version: ".._LUAJ_VERSION) + if _LUAJ_VERSION then + print("LUAJ Version: ".._LUAJ_VERSION) + end print("Contact sPhone devs: GitHub: Sertex-Team/sPhone") print("Thanks for using sPhone") print("Press any key")