Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -33,7 +33,7 @@ namespace Server.Items
if (Deleted || !from.CanSee(this))
return false;
base.ScissorHelper(from, new Bandage(), 1);
this.ScissorHelper(from, new Bandage(), 1);
return true;
}
@ -102,9 +102,6 @@ namespace Server.Items
1005422); // Hmmmm... this does not need to be cleaned.
}
}
#region Firebomb
else if (obj is BaseBeverage beverage)
{
if (beverage.Content == BeverageType.Liquor)
@ -122,9 +119,6 @@ namespace Server.Items
{
from.SendLocalizedMessage(1060579); // That is already a firebomb!
}
#endregion
else
{
from.SendLocalizedMessage(1005426); // The cloth will not work on that.
@ -145,4 +139,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}