summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-23 00:36:13 +0200
committerarchshift <admin@archshift.com>2014-07-24 20:21:37 +0200
commit4191be7ddba820af4ed0c505a8d62416c2b7a8b4 (patch)
tree23d92e889d345d33e302aeb5e699fb92bbadc04b /src/Protocol
parentAdded a queue for setting chunk data. (diff)
downloadcuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.gz
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.bz2
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.lz
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.xz
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.zst
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.zip
Diffstat (limited to 'src/Protocol')
-rw-r--r--src/Protocol/Protocol.h2
-rw-r--r--src/Protocol/Protocol125.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h
index c5ba7a679..166e9ab1b 100644
--- a/src/Protocol/Protocol.h
+++ b/src/Protocol/Protocol.h
@@ -138,7 +138,7 @@ protected:
virtual void SendData(const char * a_Data, size_t a_Size) = 0;
/// Called after writing each packet, enables descendants to flush their buffers
- virtual void Flush(void) {};
+ virtual void Flush(void) {}
// Helpers for writing partial packet data, write using SendData()
void WriteByte(Byte a_Value)
diff --git a/src/Protocol/Protocol125.h b/src/Protocol/Protocol125.h
index d7ebf535b..bf08b6c50 100644
--- a/src/Protocol/Protocol125.h
+++ b/src/Protocol/Protocol125.h
@@ -90,7 +90,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 (cBlockEntity & a_BlockEntity) override {};
+ virtual void SendUpdateBlockEntity (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;