From 54e499c065aeeaf72f9d1f6705f5534a73004ac5 Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Sat, 1 Aug 2020 20:23:01 +0200 Subject: [PATCH] Added HandleCraftItem call to ShiftClickedResult to make sure achievements are awarded (#4791) --- src/UI/SlotArea.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index 1552d4bfe..7279e9931 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -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: m_ParentWindow.BroadcastWholeWindow(); + // Added achievements processing + HandleCraftItem(Result, a_Player); + // If the recipe has changed, bail out: if (!Recipe.GetResult().IsEqual(Result)) {