summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2016-12-27 19:23:46 +0000
committerrubenwardy <rubenwardy@gmail.com>2016-12-27 19:23:46 +0000
commitc994978683355417783586262914d4be128cbdf0 (patch)
tree1d3fdd31d97c1137c6d36e97a1c339ca7c77f022
parent38c504e938e169e0337591b7ffe13863ff21250d (diff)
Update sfinv support to match stable version
-rw-r--r--sfinv.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfinv.lua b/sfinv.lua
index 7febe26..de85998 100644
--- a/sfinv.lua
+++ b/sfinv.lua
@@ -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