This commit is contained in:
xavier 2010-12-10 20:36:25 +00:00
parent 7f191c3b80
commit a1d7083098

View file

@ -99,7 +99,7 @@ namespace Server.Items
{
if (!RequireFreeHand || HasFreeHand(from))
{
if (Amount > 1)
if (this is BaseExplosionPotion && Amount > 1)
{
BasePotion pot = (BasePotion)Activator.CreateInstance(this.GetType());
@ -118,7 +118,7 @@ namespace Server.Items
pot.Drink( from );
}
}
else if( Amount == 1 )
else
{
this.Drink( from );
}