Prevent adding null wearables

Ansariel 2015-05-30 15:41:52 +02:00
parent 2917d21eb6
commit 54970403c4
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ void LLWearableData::pushWearable(const LLWearableType::EType type,
{
// no null wearables please!
LL_WARNS() << "Null wearable sent for type " << type << LL_ENDL;
// <FS:Ansariel> Prevent adding null wearables
return;
}
if (canAddWearable(type))
{