Fixes brace style (#248)
This commit is contained in:
parent
a236617ad9
commit
8149620b0c
1503 changed files with 28575 additions and 1717 deletions
|
|
@ -36,10 +36,14 @@ namespace Server.Gumps
|
|||
try
|
||||
{
|
||||
if (m_Type == typeof(Type))
|
||||
{
|
||||
targeted = targeted.GetType();
|
||||
}
|
||||
else if ((m_Type == typeof(BaseAddon) || m_Type.IsAssignableFrom(typeof(BaseAddon))) &&
|
||||
targeted is AddonComponent addonComponent)
|
||||
{
|
||||
targeted = addonComponent.Addon;
|
||||
}
|
||||
|
||||
if (m_Type.IsInstanceOfType(targeted))
|
||||
{
|
||||
|
|
@ -61,9 +65,13 @@ namespace Server.Gumps
|
|||
protected override void OnTargetFinish(Mobile from)
|
||||
{
|
||||
if (m_Type == typeof(Type))
|
||||
from.SendGump(new PropertiesGump(m_Mobile, m_Object, m_Stack, m_List, m_Page));
|
||||
{
|
||||
@from.SendGump(new PropertiesGump(m_Mobile, m_Object, m_Stack, m_List, m_Page));
|
||||
}
|
||||
else
|
||||
from.SendGump(new SetObjectGump(m_Property, m_Mobile, m_Object, m_Stack, m_Type, m_Page, m_List));
|
||||
{
|
||||
@from.SendGump(new SetObjectGump(m_Property, m_Mobile, m_Object, m_Stack, m_Type, m_Page, m_List));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue