diff options
Diffstat (limited to 'source/Items/ItemBucket.h')
-rw-r--r-- | source/Items/ItemBucket.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Items/ItemBucket.h b/source/Items/ItemBucket.h index 4792fa62d..e4adc98b8 100644 --- a/source/Items/ItemBucket.h +++ b/source/Items/ItemBucket.h @@ -90,7 +90,7 @@ public: // Give new bucket, filled with fluid:
cItem Item(NewItem, 1);
- a_Player->GetInventory().AddItem(Item);
+ a_Player->GetInventory().AddItem(Item, true, true);
// Remove water / lava block
a_Player->GetWorld()->SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_AIR, 0);
@@ -136,7 +136,7 @@ public: return false;
}
cItem Item(E_ITEM_BUCKET, 1);
- if (!a_Player->GetInventory().AddItem(Item))
+ if (!a_Player->GetInventory().AddItem(Item,true,true))
{
return false;
}
@@ -157,4 +157,4 @@ public: return true;
}
-};
\ No newline at end of file +};
|