1
0

Don't remove items twice (#4524)

* Don't remove items twice
This commit is contained in:
Mat
2020-03-22 12:17:04 +02:00
committed by GitHub
parent 038194d2a6
commit 49dd645aa6
11 changed files with 16 additions and 19 deletions

View File

@@ -712,10 +712,6 @@ void cPlayer::FinishEating(void)
{
return;
}
if (!IsGameModeCreative())
{
GetInventory().RemoveOneEquippedItem();
}
ItemHandler->OnFoodEaten(m_World, this, &Item);
}