diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-01-20 20:02:37 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-01-20 20:02:37 +0100 |
commit | 9c93ab15ab6ea4131de5af275fdc759bb49ec648 (patch) | |
tree | 46404212836a95b2d23608f200e2bcee7f7f0c9c /src | |
parent | APIDump: Added notes about objects across cWorld's task execution. (diff) | |
download | cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.tar cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.tar.gz cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.tar.bz2 cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.tar.lz cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.tar.xz cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.tar.zst cuberite-9c93ab15ab6ea4131de5af275fdc759bb49ec648.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index e5a380f8a..fefcb9396 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -1,4 +1,3 @@ - // Protocol17x.cpp /* @@ -124,7 +123,7 @@ void cProtocol172::SendBlockAction(int a_BlockX, int a_BlockY, int a_BlockZ, cha void cProtocol172::SendBlockBreakAnim(int a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage) { cPacketizer Pkt(*this, 0x25); // Block Break Animation packet - Pkt.WriteInt(a_EntityID); + Pkt.WriteVarInt(a_EntityID); Pkt.WriteInt(a_BlockX); Pkt.WriteInt(a_BlockY); Pkt.WriteInt(a_BlockZ); |