From 4e9303215aafa62ddb6be27726ad2d71ebd55273 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 9 Mar 2007 18:29:37 +0000 Subject: [PATCH] item stack name verification --- Server/Item.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Item.cs b/Server/Item.cs index 8b92feaec..8e93d4ce0 100644 --- a/Server/Item.cs +++ b/Server/Item.cs @@ -1475,7 +1475,7 @@ namespace Server public virtual bool StackWith( Mobile from, Item dropped, bool playSound ) { - if ( Stackable && dropped.Stackable && dropped.GetType() == GetType() && dropped.ItemID == ItemID && dropped.Hue == Hue && (dropped.Amount + Amount) <= 60000 ) + if ( dropped.Stackable && Stackable && dropped.GetType() == GetType() && dropped.ItemID == ItemID && dropped.Hue == Hue && dropped.Name == Name && (dropped.Amount + Amount) <= 60000 ) { if ( m_LootType != dropped.m_LootType ) m_LootType = LootType.Regular;