diff options
author | Mattes D <github@xoft.cz> | 2015-03-15 14:30:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-15 14:30:23 +0100 |
commit | 0add3d461782b7a89ff614f78f77cbb37476594d (patch) | |
tree | 22f4c7f9023efc0554cc0c2b67235b93b8bd82fb /src/Entities/ItemFrame.cpp | |
parent | Merge pull request #1811 from mc-server/grass (diff) | |
parent | Fixed style violations (diff) | |
download | cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.tar cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.tar.gz cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.tar.bz2 cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.tar.lz cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.tar.xz cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.tar.zst cuberite-0add3d461782b7a89ff614f78f77cbb37476594d.zip |
Diffstat (limited to 'src/Entities/ItemFrame.cpp')
-rw-r--r-- | src/Entities/ItemFrame.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Entities/ItemFrame.cpp b/src/Entities/ItemFrame.cpp index dfffcd3ed..4e6e38f1f 100644 --- a/src/Entities/ItemFrame.cpp +++ b/src/Entities/ItemFrame.cpp @@ -92,3 +92,14 @@ void cItemFrame::GetDrops(cItems & a_Items, cEntity * a_Killer) + +void cItemFrame::SpawnOn(cClientHandle & a_ClientHandle) +{ + super::SpawnOn(a_ClientHandle); + a_ClientHandle.SendSpawnObject(*this, 71, GetProtocolFacing(), (Byte)GetYaw(), (Byte)GetPitch()); + a_ClientHandle.SendEntityMetadata(*this); +} + + + + |