From c4eb3ad368aee32921109b8f5ab3b9d8e72f5c6b Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 30 Apr 2022 20:31:37 -0400 Subject: [PATCH] chore: change lua init errors to make more sense --- lua.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua.go b/lua.go index 838ce8a..d2bdef3 100644 --- a/lua.go +++ b/lua.go @@ -51,14 +51,14 @@ func luaInit() { // Add more paths that Lua can require from err := util.DoString(l, "package.path = package.path .. " + requirePaths) if err != nil { - fmt.Fprintln(os.Stderr, "Could not add preload paths! Libraries will be missing. This shouldn't happen.") + fmt.Fprintln(os.Stderr, "Could not add Hilbish require paths! Libraries will be missing. This shouldn't happen.") } err = util.DoFile(l, "nature/init.lua") if err != nil { err = util.DoFile(l, preloadPath) if err != nil { - fmt.Fprintln(os.Stderr, "Missing preload file, builtins may be missing.") + fmt.Fprintln(os.Stderr, "Missing nature module, some functionality and builtins will be missing.") } } }