summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-21 22:02:30 +0200
committerMattes D <github@xoft.cz>2014-10-21 22:02:30 +0200
commita42fa071bc3ac1615e7c9b9d59fb4c882cc6097d (patch)
treeecd4214f8c2c11abb7bc0ff87cef26dd79ee6063 /src/Protocol
parentFixed trailing whitespace. (diff)
downloadcuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.gz
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.bz2
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.lz
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.xz
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.zst
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
-rw-r--r--src/Protocol/Protocol18x.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 204691ede..f4779d83b 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -2803,7 +2803,7 @@ void cProtocol172::cPacketizer::WriteEntityMetadata(const cEntity & a_Entity)
WriteByte(0xA2);
WriteItem(Frame.GetItem());
WriteByte(0x3);
- WriteByte(Frame.GetRotation() / 2);
+ WriteByte(Frame.GetItemRotation() / 2);
break;
}
default: break;
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index c9118c239..39046e2ed 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -3109,7 +3109,7 @@ void cProtocol180::cPacketizer::WriteEntityMetadata(const cEntity & a_Entity)
WriteByte(0xA8);
WriteItem(Frame.GetItem());
WriteByte(0x09);
- WriteByte(Frame.GetRotation());
+ WriteByte(Frame.GetItemRotation());
break;
}
default: break;