Fix mods swapping with weapons instead of showing resize error

This commit is contained in:
Tyfon
2024-05-04 16:50:28 -07:00
parent 13f24537be
commit 5ef75eb674

View File

@@ -115,7 +115,7 @@ namespace UIFixes
}
}
if (!error.StartsWith("Cannot add") && !error.StartsWith("Cannot apply") && error != "InventoryError/NoPossibleActions")
if (!error.EndsWith("not applicable") && !error.StartsWith("Cannot apply") && error != "InventoryError/NoPossibleActions")
{
return false;
}