Skip to content

Commit

Permalink
fix. Allow the player to skin the creature (azerothcore#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp authored Feb 25, 2024
1 parent 3744bb6 commit 8b197ba
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/AoeLoot_SC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ class AoeLoot_Player : public PlayerScript
_creature->AllLootRemovedFromCorpse();
_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);
loot->clear();

if (_creature->HasUnitFlag(UNIT_FLAG_SKINNABLE))
{
_creature->RemoveUnitFlag(UNIT_FLAG_SKINNABLE);
}
}
}
else
Expand Down

0 comments on commit 8b197ba

Please sign in to comment.