fix(inferium-gui): broken parseSeedName when value is falsy

This commit is contained in:
Guillaume ARM 2024-05-24 01:28:07 +02:00
parent 566df84c75
commit 99d9551a68

View File

@ -20,6 +20,10 @@ local function formatSeedName(essenceName)
end
local function parseSeedName(seedName)
if not seedName then
return nil
end
local result, nbReplaced = string.gsub(seedName, 'mysticalagriculture:', '')
if nbReplaced == 0 then