Initializing Source property for created INbtObjects

This commit is contained in:
Justin Aquadro 2013-01-30 21:24:47 -05:00
parent ac02a672ac
commit afae126fb0
4 changed files with 7 additions and 0 deletions

View file

@ -112,6 +112,8 @@ namespace Substrate
_pos = new Vector3();
_motion = new Vector3();
_rotation = new Orientation();
_source = new TagNodeCompound();
}
/// <summary>

View file

@ -37,6 +37,7 @@ namespace Substrate
public Item ()
{
_enchantments = new List<Enchantment>();
_source = new TagNodeCompound();
}
/// <summary>

View file

@ -277,6 +277,8 @@ namespace Substrate
GameType = GameType.SURVIVAL;
UseMapFeatures = true;
_source = new TagNodeCompound();
}
/// <summary>

View file

@ -75,6 +75,7 @@ namespace Substrate
/// </summary>
protected TileEntity ()
{
_source = new TagNodeCompound();
}
/// <summary>
@ -84,6 +85,7 @@ namespace Substrate
public TileEntity (string id)
{
_id = id;
_source = new TagNodeCompound();
}
/// <summary>