mirror of
https://github.com/rubenwardy/food.git
synced 2025-07-16 06:00:23 +02:00
Fix bug
This commit is contained in:
@ -6,6 +6,15 @@
|
||||
-- Fallback ingredients
|
||||
-- =====================================
|
||||
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S = 0
|
||||
if (intllib) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
end
|
||||
|
||||
food.module("wheat", function()
|
||||
minetest.register_craftitem(":food:wheat", {
|
||||
description = S("Wheat"),
|
||||
|
Reference in New Issue
Block a user