diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-15 13:58:17 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-15 13:58:17 +0100 |
commit | c6a2e8c6889aca8aa422ac704b79bf7fc43856ec (patch) | |
tree | 23de1e8a47ba1104df98a982eae907725fa32a01 | |
parent | Added proper debug messages (diff) | |
download | cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.tar cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.tar.gz cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.tar.bz2 cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.tar.lz cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.tar.xz cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.tar.zst cuberite-c6a2e8c6889aca8aa422ac704b79bf7fc43856ec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/HopperEntity.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/BlockEntities/HopperEntity.cpp b/src/BlockEntities/HopperEntity.cpp index 386dc2d32..31b23ac99 100644 --- a/src/BlockEntities/HopperEntity.cpp +++ b/src/BlockEntities/HopperEntity.cpp @@ -239,20 +239,14 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk, Int64 a_CurrentTick) m_Contents.SetSlot(i, a_Pickup->GetItem()); a_Pickup->Destroy(); // Kill pickup - LOGD("Hopper sucking pickup into an empty slot"); - return true; } else if (m_Contents.GetSlot(i).IsEqual(a_Pickup->GetItem()) && !m_Contents.GetSlot(i).IsFullStack()) { m_bFoundPickupsAbove = true; - LOGD("Hopper sucking pickup; previous counts, pickup: %i, hopper: %i", (int)a_Pickup->GetItem().m_ItemCount, (int)m_Contents.GetSlot(i).m_ItemCount); - int PreviousCount = m_Contents.GetSlot(i).m_ItemCount; a_Pickup->GetItem().m_ItemCount -= m_Contents.ChangeSlotCount(i, a_Pickup->GetItem().m_ItemCount) - PreviousCount; // Set count to however many items were added - - LOGD("Hopper sucking pickup; after counts, pickup: %i, hopper: %i", (int)a_Pickup->GetItem().m_ItemCount, (int)m_Contents.GetSlot(i).m_ItemCount); if (a_Pickup->GetItem().IsEmpty()) { |