vendor bugfix
This commit is contained in:
parent
c718261654
commit
ab43049dd7
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ namespace Server.Gumps
|
|||
|
||||
if ( info.ButtonID == 1 )
|
||||
{
|
||||
if ( !m_VI.Valid )
|
||||
if ( !m_VI.Valid || !m_VI.Item.IsChildOf( m_Vendor.Backpack ) )
|
||||
{
|
||||
m_Vendor.SayTo( from, 503216 ); // You can't buy that.
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue