Some cleanups. (might break build for scripts as they are a WIP)
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Game.Entities
|
||||
for (byte i = 0; i < ItemConst.MaxBagSize; ++i)
|
||||
{
|
||||
Item item = m_bagslot[i];
|
||||
if (item)
|
||||
if (item != null)
|
||||
{
|
||||
if (item.IsInWorld)
|
||||
{
|
||||
@@ -72,7 +72,7 @@ namespace Game.Entities
|
||||
SetEntry(itemid);
|
||||
SetObjectScale(1.0f);
|
||||
|
||||
if (owner)
|
||||
if (owner != null)
|
||||
{
|
||||
SetOwnerGUID(owner.GetGUID());
|
||||
SetContainedIn(owner.GetGUID());
|
||||
|
||||
Reference in New Issue
Block a user