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

@ -24,17 +24,27 @@ namespace Server.Items
public override void OnLocationChange(Point3D oldLocation)
{
if (m_Item != null)
{
m_Item.Location = new Point3D(X, Y + 1, Z);
}
if (m_Item2 != null)
{
m_Item2.Location = new Point3D(X, Y + 2, Z);
}
}
public override void OnMapChange()
{
if (m_Item != null)
{
m_Item.Map = Map;
}
if (m_Item2 != null)
{
m_Item2.Map = Map;
}
}
public override void OnAfterDelete()
@ -84,13 +94,17 @@ namespace Server.Items
public override void OnLocationChange(Point3D oldLocation)
{
if (m_Item != null)
{
m_Item.Location = new Point3D(X, Y - 1, Z);
}
}
public override void OnMapChange()
{
if (m_Item != null)
{
m_Item.Map = Map;
}
}
public override void OnAfterDelete()
@ -138,13 +152,17 @@ namespace Server.Items
public override void OnLocationChange(Point3D oldLocation)
{
if (m_Item != null)
{
m_Item.Location = new Point3D(X, Y - 2, Z);
}
}
public override void OnMapChange()
{
if (m_Item != null)
{
m_Item.Map = Map;
}
}
public override void OnAfterDelete()
@ -196,17 +214,27 @@ namespace Server.Items
public override void OnLocationChange(Point3D oldLocation)
{
if (m_Item != null)
{
m_Item.Location = new Point3D(X + 1, Y, Z);
}
if (m_Item2 != null)
{
m_Item2.Location = new Point3D(X + 2, Y, Z);
}
}
public override void OnMapChange()
{
if (m_Item != null)
{
m_Item.Map = Map;
}
if (m_Item2 != null)
{
m_Item2.Map = Map;
}
}
public override void OnAfterDelete()
@ -256,13 +284,17 @@ namespace Server.Items
public override void OnLocationChange(Point3D oldLocation)
{
if (m_Item != null)
{
m_Item.Location = new Point3D(X - 1, Y, Z);
}
}
public override void OnMapChange()
{
if (m_Item != null)
{
m_Item.Map = Map;
}
}
public override void OnAfterDelete()
@ -310,13 +342,17 @@ namespace Server.Items
public override void OnLocationChange(Point3D oldLocation)
{
if (m_Item != null)
{
m_Item.Location = new Point3D(X - 2, Y, Z);
}
}
public override void OnMapChange()
{
if (m_Item != null)
{
m_Item.Map = Map;
}
}
public override void OnAfterDelete()