diff --git a/GeneralMods/Revitalize/Framework/Objects/BasicItemInformation.cs b/GeneralMods/Revitalize/Framework/Objects/BasicItemInformation.cs
index 6744d6cb..371e8eed 100644
--- a/GeneralMods/Revitalize/Framework/Objects/BasicItemInformation.cs
+++ b/GeneralMods/Revitalize/Framework/Objects/BasicItemInformation.cs
@@ -1,6 +1,8 @@
using System;
+using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
+using Netcode;
using PyTK.CustomElementHandler;
using Revitalize.Framework.Graphics.Animations;
using Revitalize.Framework.Illuminate;
@@ -9,7 +11,11 @@ using StardewValley;
namespace Revitalize.Framework.Objects
{
- public class BasicItemInformation : CustomObjectData
+
+ ///
+ /// In Order to make this network compatible, I MUST, MUST, MUST make it use this INetSerializable functionality.
+ ///
+ public class BasicItemInformation : CustomObjectData, INetSerializable
{
public string name;
public string description;
@@ -93,11 +99,54 @@ namespace Revitalize.Framework.Objects
this.facingDirection = Enums.Direction.Down;
}
+ public uint DirtyTick { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+
+ public bool Dirty => throw new NotImplementedException();
+
+ public bool NeedsTick { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ public bool ChildNeedsTick { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+ public INetSerializable Parent { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
+
+ public INetRoot Root => throw new NotImplementedException();
+
+ public void MarkClean()
+ {
+ throw new NotImplementedException();
+ }
+
+ public void MarkDirty()
+ {
+ throw new NotImplementedException();
+ }
+
+ public void Read(BinaryReader reader, NetVersion version)
+ {
+ throw new NotImplementedException();
+ }
+
+ public void ReadFull(BinaryReader reader, NetVersion version)
+ {
+ throw new NotImplementedException();
+ }
+
public void recreateDataString()
{
this.data = $"{this.name}/{this.price}/{this.edibility}/Crafting -9/{this.description}/{this.canBeSetOutdoors}/{this.canBeSetIndoors}/{this.fragility}/{this.isLamp}/{this.name}";
}
-
+ public bool Tick()
+ {
+ throw new NotImplementedException();
+ }
+
+ public void Write(BinaryWriter writer)
+ {
+ throw new NotImplementedException();
+ }
+
+ public void WriteFull(BinaryWriter writer)
+ {
+ throw new NotImplementedException();
+ }
}
}
diff --git a/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs b/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs
index ffae4a48..695bb12a 100644
--- a/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs
+++ b/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs
@@ -340,6 +340,7 @@ namespace Revitalize.Framework.Objects
/// What happens when the object is drawn when held by a player.
public override void drawWhenHeld(SpriteBatch spriteBatch, Vector2 objectPosition, StardewValley.Farmer f)
{
+
if (this.animationManager == null) Revitalize.ModCore.log("Animation Manager Null");
if (this.displayTexture == null) Revitalize.ModCore.log("Display texture is null");
if (f.ActiveObject.bigCraftable.Value)