summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DispenserEntity.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-22 11:17:04 +0100
committerGitHub <noreply@github.com>2020-03-22 11:17:04 +0100
commit49dd645aa67041904cb35c1337e7e52ea99669ae (patch)
tree796bf2109bbb311caa76e2633802528127919f40 /src/BlockEntities/DispenserEntity.cpp
parentAllow enderman to attack during day (#4522) (diff)
downloadcuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.tar
cuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.tar.gz
cuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.tar.bz2
cuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.tar.lz
cuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.tar.xz
cuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.tar.zst
cuberite-49dd645aa67041904cb35c1337e7e52ea99669ae.zip
Diffstat (limited to 'src/BlockEntities/DispenserEntity.cpp')
-rw-r--r--src/BlockEntities/DispenserEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/DispenserEntity.cpp b/src/BlockEntities/DispenserEntity.cpp
index 6cb63b495..268a108c2 100644
--- a/src/BlockEntities/DispenserEntity.cpp
+++ b/src/BlockEntities/DispenserEntity.cpp
@@ -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