diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 14:25:35 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 14:25:35 +0100 |
commit | 1af89a8b50a382ef0f5c137a84ab2816c45cc73c (patch) | |
tree | 710e4ef25d4785515a3ca07a94dc4b516dd15286 /src/Protocol/Protocol17x.h | |
parent | Implemented MC|Brand response (diff) | |
download | cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.tar cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.tar.gz cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.tar.bz2 cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.tar.lz cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.tar.xz cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.tar.zst cuberite-1af89a8b50a382ef0f5c137a84ab2816c45cc73c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h index 6e04a0ffb..b1d902507 100644 --- a/src/Protocol/Protocol17x.h +++ b/src/Protocol/Protocol17x.h @@ -102,7 +102,7 @@ public: virtual void SendThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ) override; virtual void SendTimeUpdate (Int64 a_WorldAge, Int64 a_TimeOfDay) override; virtual void SendUnloadChunk (int a_ChunkX, int a_ChunkZ) override; - virtual void SendUpdateBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, Byte a_Action, cFastNBTWriter & a_NBT) override; + virtual void SendUpdateBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, Byte a_Action, cBlockEntity & a_BlockEntity) override; virtual void SendUpdateSign (int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4) override; virtual void SendUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ ) override; virtual void SendWeather (eWeather a_Weather) override; @@ -190,7 +190,7 @@ protected: void WriteEntityMetadata(const cEntity & a_Entity); // Writes the metadata for the specified entity, not including the terminating 0x7f void WriteMobMetadata(const cMonster & a_Mob); // Writes the mob-specific metadata for the specified mob void WriteEntityProperties(const cEntity & a_Entity); // Writes the entity properties for the specified entity, including the Count field - void WriteBlockEntity(const cFastNBTWriter & a_NBT); + void WriteBlockEntity(const cBlockEntity & a_BlockEntity); protected: cProtocol172 & m_Protocol; |