Skip to content

Commit

Permalink
Fix craft container check
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaver-DaRed committed Sep 5, 2024
1 parent 7042750 commit f208657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/packet_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5034,7 +5034,7 @@ void SmallPacket0x085(map_session_data_t* const PSession, CCharEntity* const PCh

if (PItem != nullptr && (gil != nullptr && gil->isType(ITEM_CURRENCY)))
{
if (PChar->CraftContainer)
if (PChar->animation == ANIMATION_SYNTH || (PChar->CraftContainer && PChar->CraftContainer->getItemsCount() > 0))
{
ShowWarning("SmallPacket0x085: Player %s trying to sell while in the middle of a synth!", PChar->getName());
return;
Expand Down

0 comments on commit f208657

Please sign in to comment.