Fix typo in core bootup where it incorrectly displays an error message and returns false. Having the Max vendor items is acceptable.

--HG--
branch : trunk
This commit is contained in:
p0wer committed 2010-02-23 20:30:31 -06:00
1 parent dda62c5b5a
commit 50e878acba
1 file changed
+1 -1
+1 -1
View File
@@ -8587,7 +8587,7 @@ bool ObjectMgr::IsVendorItemValid( uint32 vendor_entry, uint32 item_id, int32 ma
return false;
}
if(vItems->GetItemCount() >= MAX_VENDOR_ITEMS)
if(vItems->GetItemCount() > MAX_VENDOR_ITEMS)
{
if(pl)
ChatHandler(pl).SendSysMessage(LANG_COMMAND_ADDVENDORITEMITEMS);