summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2018-08-26 16:52:39 +0200
committerGitHub <noreply@github.com>2018-08-26 16:52:39 +0200
commitc4f43cd8ec0d31705aef105c9b2bb0c26f976bf6 (patch)
treefafb866d829cb18c0c94cb250f1f4a043f20e403 /src/Protocol/ProtocolRecognizer.cpp
parentCircle 2.0: Use workspace instead of cache (#4291) (diff)
downloadcuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.tar
cuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.tar.gz
cuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.tar.bz2
cuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.tar.lz
cuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.tar.xz
cuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.tar.zst
cuberite-c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index c10d43e3e..1e7808de3 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -300,7 +300,7 @@ void cProtocolRecognizer::SendEditSign(int a_BlockX, int a_BlockY, int a_BlockZ)
-void cProtocolRecognizer::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration)
+void cProtocolRecognizer::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, int a_Duration)
{
ASSERT(m_Protocol != nullptr);
m_Protocol->SendEntityEffect(a_Entity, a_EffectID, a_Amplifier, a_Duration);
@@ -1252,7 +1252,3 @@ void cProtocolRecognizer::HandlePacketStatusPing()
cPacketizer Pkt(*this, 0x01); // Pong packet
Pkt.WriteBEInt64(Timestamp);
}
-
-
-
-