[bags] Update to Git patch f275dc0:

https://github.com/AntumMT/mod-bags/tree/f275dc0
master
Jordan Irwin 2017-08-29 13:23:57 -07:00
parent e1298badff
commit ad8309638a
2 changed files with 13 additions and 10 deletions

View File

@ -50,7 +50,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
* [waffles][] ([CC0][lic.cc0]) -- version [b02ffbf Git][ver.waffles] *2017-08-04* * [waffles][] ([CC0][lic.cc0]) -- version [b02ffbf Git][ver.waffles] *2017-08-04*
* [intllib][] ([Unlicense][lic.unlicense]) -- version: [7b818cb Git][ver.intllib] *2017-07-10* * [intllib][] ([Unlicense][lic.unlicense]) -- version: [7b818cb Git][ver.intllib] *2017-07-10*
* inventory/ * inventory/
* [bags][] ([BSD 3-Clause][lic.bags]) -- version: [8a02b4d Git][ver.bags] *2017-08-07* * [bags][] ([BSD 3-Clause][lic.bags]) -- version: [8a02b4d Git][ver.bags] *2017-08-07* ([patched][patch.bags])
* [sfinv_buttons][] ([MIT][lic.mit]) -- version [1.0.0 (4f3b075 Git)][ver.sfinv_buttons] *2017-03-19* * [sfinv_buttons][] ([MIT][lic.mit]) -- version [1.0.0 (4f3b075 Git)][ver.sfinv_buttons] *2017-03-19*
* lighting/ * lighting/
* [glow][] ([GPL][lic.gpl2.0]) -- version: [c611ae0 Git][ver.glow] *2017-07-18* * [glow][] ([GPL][lic.gpl2.0]) -- version: [c611ae0 Git][ver.glow] *2017-07-18*
@ -484,6 +484,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.airtanks]: https://github.com/AntumMT/mod-airtanks/tree/71ea616 [patch.airtanks]: https://github.com/AntumMT/mod-airtanks/tree/71ea616
[patch.awards]: https://github.com/AntumMT/mod-awards/tree/638c137 [patch.awards]: https://github.com/AntumMT/mod-awards/tree/638c137
[patch.away]: https://github.com/AntumMT/mod-away/tree/3b0bf9e [patch.away]: https://github.com/AntumMT/mod-away/tree/3b0bf9e
[patch.bags]: https://github.com/AntumMT/mod-bags/tree/f275dc0
[patch.bedrock2]: https://github.com/AntumMT/mod-bedrock2/tree/344fdae [patch.bedrock2]: https://github.com/AntumMT/mod-bedrock2/tree/344fdae
[patch.biome_lib]: https://github.com/AntumMT/mod-biome_lib/tree/4e95b1e [patch.biome_lib]: https://github.com/AntumMT/mod-biome_lib/tree/4e95b1e
[patch.boats2]: https://github.com/AntumMT/mod-boats2/tree/9b2bcb7 [patch.boats2]: https://github.com/AntumMT/mod-boats2/tree/9b2bcb7

View File

@ -78,17 +78,19 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
end end
end) end)
if use_sfinv then
sfinv_buttons.register_button("bags", {
title = "Bags",
action = function(player)
player:set_inventory_formspec(get_formspec(player, "bags"))
end,
image = "bags_small.png",
})
end
-- register_on_joinplayer -- register_on_joinplayer
minetest.register_on_joinplayer(function(player) minetest.register_on_joinplayer(function(player)
if use_sfinv then if not use_sfinv then
sfinv_buttons.register_button("bags", {
title = "Bags",
action = function(player)
player:set_inventory_formspec(get_formspec(player, "bags"))
end,
image = "bags_small.png",
})
else
inventory_plus.register_button(player,"bags","Bags") inventory_plus.register_button(player,"bags","Bags")
end end