Fix chance to set fallback page as startpage

master
Wuzzy 2022-08-12 22:50:28 +02:00
parent da61afb6e6
commit d9409b871d
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ minetest.register_on_joinplayer(
local pname = player:get_player_name()
local first_page
for invpagename,def in pairs(rp_formspec.registered_invpages) do
if not first_page then
if not first_page and invpagename ~= "rp_formspec:inventory" then
first_page = invpagename
end
-- _is_startpage returns true if this page