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

@ -75,18 +75,28 @@ namespace Server.Items
public override void OnDoubleClick(Mobile from)
{
if (!from.InRange(GetWorldLocation(), 1))
SendLocalizedMessageTo(from, 501816); // You are too far away to do that.
{
SendLocalizedMessageTo(@from, 501816); // You are too far away to do that.
}
else if (Swinging)
SendLocalizedMessageTo(from, 501815); // You have to wait until it stops swinging.
{
SendLocalizedMessageTo(@from, 501815); // You have to wait until it stops swinging.
}
else if (from.Skills.Stealing.Base >= MaxSkill)
{
SendLocalizedMessageTo(
from,
@from,
501830
); // Your ability to steal cannot improve any further by simply practicing on a dummy.
}
else if (from.Mounted)
SendLocalizedMessageTo(from, 501829); // You can't practice on this while on a mount.
{
SendLocalizedMessageTo(@from, 501829); // You can't practice on this while on a mount.
}
else
Use(from);
{
Use(@from);
}
}
public override void Serialize(IGenericWriter writer)