Added HandleCraftItem call to ShiftClickedResult to make sure achievements are awarded (#4791)
This commit is contained in:
parent
fb3d3dac1e
commit
54e499c065
@ -692,6 +692,9 @@ void cSlotAreaCrafting::ShiftClickedResult(cPlayer & a_Player)
|
|||||||
// Broadcast the window, we sometimes move items to different locations than Vanilla, causing needless desyncs:
|
// Broadcast the window, we sometimes move items to different locations than Vanilla, causing needless desyncs:
|
||||||
m_ParentWindow.BroadcastWholeWindow();
|
m_ParentWindow.BroadcastWholeWindow();
|
||||||
|
|
||||||
|
// Added achievements processing
|
||||||
|
HandleCraftItem(Result, a_Player);
|
||||||
|
|
||||||
// If the recipe has changed, bail out:
|
// If the recipe has changed, bail out:
|
||||||
if (!Recipe.GetResult().IsEqual(Result))
|
if (!Recipe.GetResult().IsEqual(Result))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user