1
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

View File

@ -1590,8 +1590,8 @@ void cSlotAreaEnchanting::OnPlayerAdded(cPlayer & a_Player)
void cSlotAreaEnchanting::OnPlayerRemoved(cPlayer & a_Player) void cSlotAreaEnchanting::OnPlayerRemoved(cPlayer & a_Player)
{ {
// Toss the item in the enchanting slot // Toss the item in the enchanting slot, as well as lapis
TossItems(a_Player, 0, 1); TossItems(a_Player, 0, m_NumSlots);
super::OnPlayerRemoved(a_Player); super::OnPlayerRemoved(a_Player);
} }