Update sfinv support to match stable version

This commit is contained in:
rubenwardy 2016-12-27 19:23:46 +00:00
parent 38c504e938
commit c994978683

View File

@ -22,7 +22,7 @@ if minetest.get_modpath("sfinv") then
local event = minetest.explode_textlist_event(fields.awards)
if event.type == "CHG" then
context.awards_idx = event.index
sfinv.set(player, context)
sfinv.set_player_inventory_formspec(player, context)
end
end
end