1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-21 00:45:23 +01:00

Fix modpack status display and handling of modpack name conflicts

This commit is contained in:
Jürgen Rühle
2025-11-15 20:08:07 +01:00
committed by sfan5
parent 392c054be9
commit d92e9e3126
2 changed files with 41 additions and 14 deletions

View File

@@ -203,7 +203,7 @@ local function get_formspec(data)
if mod.name ~= "" and not mod.is_game_content then
if mod.is_modpack then
if pkgmgr.is_modpack_entirely_enabled(data, mod.name) then
if pkgmgr.is_modpack_entirely_enabled(data.list:get_raw_list(), mod) then
retval = retval ..
"button[5.5,0.125;3,0.5;btn_mp_disable;" ..
fgettext("Disable modpack") .. "]"