mirror of
https://github.com/azerothcore/mod-aoe-loot
synced 2025-11-29 21:38:16 +08:00
fix. Allow the player to skin the creature (#28)
This commit is contained in:
@@ -117,11 +117,6 @@ public:
|
|||||||
_creature->AllLootRemovedFromCorpse();
|
_creature->AllLootRemovedFromCorpse();
|
||||||
_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
|
_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
|
||||||
loot->clear();
|
loot->clear();
|
||||||
|
|
||||||
if (_creature->HasUnitFlag(UNIT_FLAG_SKINNABLE))
|
|
||||||
{
|
|
||||||
_creature->RemoveUnitFlag(UNIT_FLAG_SKINNABLE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user