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

@ -77,6 +77,8 @@ if unified_inventory then --unified inventory installed
unified_inventory.register_button("worldedit_gui", {
type = "image",
image = "inventory_plus_worldedit_gui.png",
tooltip = "Worldedit GUI",
show_with = "worldedit", --Modiff MFF (Crabman 30/06/2015)
})
minetest.register_on_player_receive_fields(function(player, formname, fields)