Fixes several bugs and streamlines the BOD code. (#32)

This commit is contained in:
Kamron Batman 2019-03-12 23:41:19 -07:00 • committed by GitHub
parent a45094f2dc
commit 114dc1a16b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 500 additions and 777 deletions

View file

@ -685,8 +685,10 @@ namespace Server
internal int m_TypeRef;
public Item()
[Constructible]
public Item(int itemID = 0)
{
m_ItemID = itemID;
Serial = Serial.NewItem;
//m_Items = new ArrayList( 1 );
@ -709,12 +711,6 @@ namespace Server
}
}
[Constructible]
public Item(int itemID) : this()
{
m_ItemID = itemID;
}
public Item(Serial serial)
{
Serial = serial;