1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

modified unified_inventory to place buttons in 2 rows when +12

modified unified_inventory to hide buttons if player does not have the necessary privileges
modified other mods to adjust with unified_inventory
This commit is contained in:
2015-06-30 16:15:58 +02:00
parent 04e5e49904
commit a2b7be291f
9 changed files with 45 additions and 21 deletions

View File

@ -173,6 +173,7 @@ if (minetest.get_modpath("unified_inventory")) then
type = "image",
image = "soundset_menu_icon.png",
tooltip = "sounds menu ",
show_with = false, --Modif MFF (Crabman 30/06/2015)
action = function(player)
local name = player:get_player_name()
if not name then return end