Fixed bugs
This commit is contained in:
@@ -255,7 +255,7 @@ public class EntityModel
|
||||
}
|
||||
|
||||
|
||||
public EntityHarvesterModel Harvest()
|
||||
public EntityHarvesterModel? Harvester()
|
||||
{
|
||||
return (EntityHarvesterModel)EntityParts.Find(x => x.GetType() == typeof(EntityHarvesterModel))!;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
namespace Model.Entity.Parts;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Model.Entity.Parts;
|
||||
|
||||
public class IEntityPartInterface
|
||||
{
|
||||
[JsonIgnore]
|
||||
public EntityModel Parent { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user