Skip to content

Commit

Permalink
Revert "[S023] Implement items 39878(Mysterious Egg) and 44717(Disgus…
Browse files Browse the repository at this point in the history
…ting Jar)"

This reverts commit 1852f67.
  • Loading branch information
PSZ committed Jun 18, 2011
1 parent 836e7f3 commit deea39a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/game/Item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,21 +280,7 @@ void Item::UpdateDuration(Player* owner, uint32 diff)

if (GetUInt32Value(ITEM_FIELD_DURATION) <= diff)
{
uint32 itemId = this->GetEntry();

owner->DestroyItem(GetBagSlot(), GetSlot(), true);

if (itemId == 39878) //Mysterious Egg
{
if (Item* Item = owner->StoreNewItemInInventorySlot(39883, 1))
owner->SendNewItem(Item, 1, true, false);
}

if (itemId == 44717) //Disgusting Jar
{
if (Item* Item = owner->StoreNewItemInInventorySlot(44718, 1))
owner->SendNewItem(Item, 1, true, false);
}
return;
}

Expand Down

0 comments on commit deea39a

Please sign in to comment.