Fixes brace style (#248)

This commit is contained in:
Kamron Batman 2020-09-13 21:49:46 -07:00 • committed by GitHub
parent a236617ad9
commit 8149620b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1503 changed files with 28575 additions and 1717 deletions

View file

@ -21,7 +21,9 @@ namespace Server.Targets
}
if (p is Item pItem)
{
p = pItem.GetWorldTop();
}
CommandLogging.WriteLine(
from,
@ -35,12 +37,16 @@ namespace Server.Targets
if (m_Object is Item item)
{
if (!item.Deleted)
item.MoveToWorld(new Point3D(p), from.Map);
{
item.MoveToWorld(new Point3D(p), @from.Map);
}
}
else if (m_Object is Mobile m)
{
if (!m.Deleted)
m.MoveToWorld(new Point3D(p), from.Map);
{
m.MoveToWorld(new Point3D(p), @from.Map);
}
}
}
}