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

@ -16,9 +16,13 @@ namespace Server.Items
if (holder.EquipItem(this))
{
if (this is Candle)
{
holder.SendLocalizedMessage(502969); // You put the candle in your left hand.
}
else if (this is Torch)
{
holder.SendLocalizedMessage(502971); // You put the torch in your left hand.
}
base.Ignite();
}
@ -36,7 +40,9 @@ namespace Server.Items
public override void OnAdded(IEntity parent)
{
if (Burning && parent is Container)
{
Douse();
}
base.OnAdded(parent);
}