Skip to content

Commit

Permalink
Merge pull request #6217 from Xaver-DaRed/containercheck
Browse files Browse the repository at this point in the history
Fix craft container check
  • Loading branch information
claywar authored Sep 5, 2024
2 parents 7042750 + f208657 commit 9cbdcd3
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 9cbdcd3

Please sign in to comment.