summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.cpp
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-08-01 20:23:01 +0200
committerGitHub <noreply@github.com>2020-08-01 20:23:01 +0200
commit54e499c065aeeaf72f9d1f6705f5534a73004ac5 (patch)
treeeddc9de78576def92ad46b757bd8c2bc8eef68c6 /src/UI/SlotArea.cpp
parentCorrect Serialise393/477 version annotations (diff)
downloadcuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.tar
cuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.tar.gz
cuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.tar.bz2
cuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.tar.lz
cuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.tar.xz
cuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.tar.zst
cuberite-54e499c065aeeaf72f9d1f6705f5534a73004ac5.zip
Diffstat (limited to 'src/UI/SlotArea.cpp')
-rw-r--r--src/UI/SlotArea.cpp3
1 files changed, 3 insertions, 0 deletions
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))
{