fix: don't allow invalid import stains

This commit is contained in:
Anna 2022-05-14 19:32:27 -04:00
parent e718c998e1
commit 7dc28697b7
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ namespace Glamaholic.Ui {
continue;
}
var stainId = this.GetStainIdFromPart(part);
var stainId = item.IsDyeable ? this.GetStainIdFromPart(part) : (byte) 0;
items[slot.Value] = new SavedGlamourItem {
ItemId = item.RowId,
StainId = stainId,