1
0
Fork 0

Toss all items from enchantment table (#4569)

This commit is contained in:
Mat 2020-03-28 14:01:21 +02:00 committed by GitHub
parent 1bc24055d5
commit ec7247fa63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}