summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-13 20:57:23 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-13 20:57:23 +0100
commitc0e7d6fec9c8349321849b933183ef3f49ff87d2 (patch)
treef2881d6f3ecd293d3ceabd988840b3636a58c44b /src
parentAdded more missing GetClassStatic()s (diff)
downloadcuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.tar
cuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.tar.gz
cuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.tar.bz2
cuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.tar.lz
cuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.tar.xz
cuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.tar.zst
cuberite-c0e7d6fec9c8349321849b933183ef3f49ff87d2.zip
Diffstat (limited to 'src')
-rw-r--r--src/BlockEntities/HopperEntity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/HopperEntity.cpp b/src/BlockEntities/HopperEntity.cpp
index b2fe7ee99..b4ee36607 100644
--- a/src/BlockEntities/HopperEntity.cpp
+++ b/src/BlockEntities/HopperEntity.cpp
@@ -198,7 +198,7 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk, Int64 a_CurrentTick)
public cEntityCallback
{
public:
- cHopperPickupSearchCallback(const Vector3i a_Pos, cItemGrid & a_Contents) :
+ cHopperPickupSearchCallback(const Vector3i & a_Pos, cItemGrid & a_Contents) :
m_Pos(a_Pos),
m_bFoundPickupsAbove(false),
m_Contents(a_Contents)
@@ -265,7 +265,7 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk, Int64 a_CurrentTick)
}
protected:
- const Vector3i m_Pos;
+ Vector3i m_Pos;
bool m_bFoundPickupsAbove;
cItemGrid & m_Contents;
};