summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--food/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/food/init.lua b/food/init.lua
index 60a52a6..5e2def6 100644
--- a/food/init.lua
+++ b/food/init.lua
@@ -98,7 +98,8 @@ function food.module(name, func, ingred)
if food.suppress_no_fallback_error then
print("Warning: Fallbacks are disabled, and no item for " .. name .. " registered!")
else
- error("Food: Fallbacks are disabled, and no item for " .. name .. " registered!")
+ error("Food: Fallbacks are disabled, and no item for " .. name .. " registered!" ..
+ "\nUse setting food.suppress_no_fallback_error = true to ignore this error.")
end
return
end