diff options
author | hallucino <d@t0t0.fr> | 2015-07-16 15:06:54 +0200 |
---|---|---|
committer | hallucino <d@t0t0.fr> | 2015-07-16 22:49:55 +0200 |
commit | 9c85ed5864d53057ebde6f756f89b400172e52b5 (patch) | |
tree | 2dda40bc792a22b420105e89c2f4d18a49c18fff /src/BlockEntities | |
parent | Merge pull request #2348 from bibo38/customname (diff) | |
download | cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.gz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.bz2 cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.lz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.xz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.zst cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/DispenserEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/DispenserEntity.cpp b/src/BlockEntities/DispenserEntity.cpp index a847f1b65..297d5273e 100644 --- a/src/BlockEntities/DispenserEntity.cpp +++ b/src/BlockEntities/DispenserEntity.cpp @@ -105,7 +105,7 @@ void cDispenserEntity::DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum) { double MobX = 0.5 + (DispX + DispChunk->GetPosX() * cChunkDef::Width); double MobZ = 0.5 + (DispZ + DispChunk->GetPosZ() * cChunkDef::Width); - if (m_World->SpawnMob(MobX, DispY, MobZ, static_cast<eMonsterType>(m_Contents.GetSlot(a_SlotNum).m_ItemDamage)) != cEntity::INVALID_ID) + if (m_World->SpawnMob(MobX, DispY, MobZ, static_cast<eMonsterType>(m_Contents.GetSlot(a_SlotNum).m_ItemDamage), false) != cEntity::INVALID_ID) { m_Contents.ChangeSlotCount(a_SlotNum, -1); } |