1
0
mirror of https://github.com/TeTpaAka/quests.git synced 2025-01-22 07:50:49 +01:00
quests/inventory_plus.lua

10 lines
259 B
Lua

core.register_on_joinplayer(function(player)
inventory_plus.register_button(player, "quests")
end)
core.register_on_player_receive_fields(function(player, formname, fields)
if (fields.quests) then
quests.show_formspec(player:get_player_name())
end
end)