mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-19 05:57:42 +01:00
Some more changes regarding unavailable customization options.
This commit is contained in:
parent
8e881ceba1
commit
59e75b2346
7 changed files with 48 additions and 22 deletions
|
|
@ -14,8 +14,8 @@ namespace Glamourer.Designs;
|
|||
public sealed class Design : DesignBase, ISavable
|
||||
{
|
||||
#region Data
|
||||
internal Design(ItemManager items)
|
||||
: base(items)
|
||||
internal Design(CustomizationService customize, ItemManager items)
|
||||
: base(customize, items)
|
||||
{ }
|
||||
|
||||
internal Design(DesignBase other)
|
||||
|
|
@ -116,7 +116,7 @@ public sealed class Design : DesignBase, ISavable
|
|||
|
||||
var creationDate = json["CreationDate"]?.ToObject<DateTimeOffset>() ?? throw new ArgumentNullException("CreationDate");
|
||||
|
||||
var design = new Design(items)
|
||||
var design = new Design(customizations, items)
|
||||
{
|
||||
CreationDate = creationDate,
|
||||
Identifier = json["Identifier"]?.ToObject<Guid>() ?? throw new ArgumentNullException("Identifier"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue