From ec7247fa63e0db1b96960f54f99b60a05be4e056 Mon Sep 17 00:00:00 2001 From: Mat Date: Sat, 28 Mar 2020 14:01:21 +0200 Subject: [PATCH] Toss all items from enchantment table (#4569) --- src/UI/SlotArea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index e7a6b4407..84e6efb77 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -1590,8 +1590,8 @@ void cSlotAreaEnchanting::OnPlayerAdded(cPlayer & a_Player) void cSlotAreaEnchanting::OnPlayerRemoved(cPlayer & a_Player) { - // Toss the item in the enchanting slot - TossItems(a_Player, 0, 1); + // Toss the item in the enchanting slot, as well as lapis + TossItems(a_Player, 0, m_NumSlots); super::OnPlayerRemoved(a_Player); }