fix: don't allow invalid import stains
This commit is contained in:
parent
e718c998e1
commit
7dc28697b7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue