diff options
author | madmaxoft <github@xoft.cz> | 2014-07-19 14:53:41 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-19 14:53:41 +0200 |
commit | 00c524519ef6c7ceaf4ac91307617cfd65d7cf21 (patch) | |
tree | 3587ecc98aada0ce36da33e50a1d460c17129b3e /src/Protocol | |
parent | Merge pull request #1214 from mc-server/anti-glob (diff) | |
download | cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.gz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.bz2 cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.lz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.xz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.zst cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 2 | ||||
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 37a9fdf47..67a5e97b1 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -2533,7 +2533,7 @@ void cProtocol172::cPacketizer::WriteItem(const cItem & a_Item) if (!a_Item.m_Enchantments.IsEmpty()) { const char * TagName = (a_Item.m_ItemType == E_ITEM_BOOK) ? "StoredEnchantments" : "ench"; - EnchantmentSerializer::WriteToNBTCompound(a_Item.m_Enchantments,Writer, TagName); + EnchantmentSerializer::WriteToNBTCompound(a_Item.m_Enchantments, Writer, TagName); } if (!a_Item.IsBothNameAndLoreEmpty()) { diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 3991b84de..e62f9d216 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -331,7 +331,7 @@ void cProtocolRecognizer::SendEntityVelocity(const cEntity & a_Entity) void cProtocolRecognizer::SendExplosion(double a_BlockX, double a_BlockY, double a_BlockZ, float a_Radius, const cVector3iArray & a_BlocksAffected, const Vector3d & a_PlayerMotion) { ASSERT(m_Protocol != NULL); - m_Protocol->SendExplosion(a_BlockX,a_BlockY,a_BlockZ,a_Radius, a_BlocksAffected, a_PlayerMotion); + m_Protocol->SendExplosion(a_BlockX, a_BlockY, a_BlockZ, a_Radius, a_BlocksAffected, a_PlayerMotion); } |