summaryrefslogtreecommitdiffstats
path: root/src/Entities/ItemFrame.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-18 22:33:33 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-18 22:33:33 +0100
commit05789f9e66abd9ad211fb27fb36bb45915c6d19e (patch)
tree40456a83eb6dfff76613df54cc3a41f1cbd49030 /src/Entities/ItemFrame.h
parentMerge branch 'itemframes' of https://github.com/mc-server/MCServer into itemframes (diff)
downloadcuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.tar
cuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.tar.gz
cuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.tar.bz2
cuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.tar.lz
cuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.tar.xz
cuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.tar.zst
cuberite-05789f9e66abd9ad211fb27fb36bb45915c6d19e.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/ItemFrame.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/ItemFrame.h b/src/Entities/ItemFrame.h
index 15a03e54a..43915e3f9 100644
--- a/src/Entities/ItemFrame.h
+++ b/src/Entities/ItemFrame.h
@@ -18,7 +18,7 @@ public:
CLASS_PROTODEF(cItemFrame);
- cItemFrame(int a_BlockFace, double a_X, double a_Y, double a_Z);
+ cItemFrame(eBlockFace a_BlockFace, double a_X, double a_Y, double a_Z);
const cItem & GetItem(void) { return m_Item; }
Byte GetRotation(void) const { return m_Rotation; }
@@ -31,7 +31,7 @@ private:
virtual void KilledBy(cEntity * a_Killer) override;
virtual void GetDrops(cItems & a_Items, cEntity * a_Killer) override;
- int m_BlockFace;
+ eBlockFace m_BlockFace;
cItem m_Item;
Byte m_Rotation;