1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-25 18:55:28 +01:00

Updated unified_inventory

- Added system hidding crafts involving unknown items
 - Solves #186
This commit is contained in:
LeMagnesium
2015-08-02 23:29:04 +02:00
parent 21e53d2ac6
commit 9a4787834b
6 changed files with 25 additions and 32 deletions

View File

@@ -3,13 +3,7 @@
-- Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com>
-- License: GPLv3
local S
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function(s) return s end
end
local S = unified_inventory.gettext
unified_inventory.register_page("bags", {
get_formspec = function(player)