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

@@ -306,7 +306,7 @@ Vector3d cDispenserEntity::GetShootVector(NIBBLETYPE a_Meta)
bool cDispenserEntity::ScoopUpLiquid(int a_SlotNum, short a_ResultingBucketItemType)
{
cItem LiquidBucket(a_ResultingBucketItemType, 1);
cItem LiquidBucket(a_ResultingBucketItemType);
if (m_Contents.GetSlot(a_SlotNum).m_ItemCount == 1)
{
// Special case: replacing one empty bucket with one full bucket