Prevent adding null wearables
parent
2917d21eb6
commit
54970403c4
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue