forked from nalc/awards
Update sfinv support to match stable version
This commit is contained in:
parent
38c504e938
commit
c994978683
@ -22,7 +22,7 @@ if minetest.get_modpath("sfinv") then
|
|||||||
local event = minetest.explode_textlist_event(fields.awards)
|
local event = minetest.explode_textlist_event(fields.awards)
|
||||||
if event.type == "CHG" then
|
if event.type == "CHG" then
|
||||||
context.awards_idx = event.index
|
context.awards_idx = event.index
|
||||||
sfinv.set(player, context)
|
sfinv.set_player_inventory_formspec(player, context)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user