diff --git a/SubstrateCS/Source/Entity.cs b/SubstrateCS/Source/Entity.cs index 6dc1702..6be3adf 100644 --- a/SubstrateCS/Source/Entity.cs +++ b/SubstrateCS/Source/Entity.cs @@ -112,6 +112,8 @@ namespace Substrate _pos = new Vector3(); _motion = new Vector3(); _rotation = new Orientation(); + + _source = new TagNodeCompound(); } /// diff --git a/SubstrateCS/Source/Item.cs b/SubstrateCS/Source/Item.cs index 4c0bff7..28cdd8e 100644 --- a/SubstrateCS/Source/Item.cs +++ b/SubstrateCS/Source/Item.cs @@ -37,6 +37,7 @@ namespace Substrate public Item () { _enchantments = new List(); + _source = new TagNodeCompound(); } /// diff --git a/SubstrateCS/Source/Level.cs b/SubstrateCS/Source/Level.cs index 03d26c3..bc02f65 100644 --- a/SubstrateCS/Source/Level.cs +++ b/SubstrateCS/Source/Level.cs @@ -277,6 +277,8 @@ namespace Substrate GameType = GameType.SURVIVAL; UseMapFeatures = true; + + _source = new TagNodeCompound(); } /// diff --git a/SubstrateCS/Source/TileEntity.cs b/SubstrateCS/Source/TileEntity.cs index fe26ab4..616f982 100644 --- a/SubstrateCS/Source/TileEntity.cs +++ b/SubstrateCS/Source/TileEntity.cs @@ -75,6 +75,7 @@ namespace Substrate /// protected TileEntity () { + _source = new TagNodeCompound(); } /// @@ -84,6 +85,7 @@ namespace Substrate public TileEntity (string id) { _id = id; + _source = new TagNodeCompound(); } ///