diff options
author | madmaxoft <github@xoft.cz> | 2014-01-09 11:39:42 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-09 11:39:42 +0100 |
commit | fe978f0d1e01e284b591e1d5a08ebb24161fd587 (patch) | |
tree | fb8c1c28e7e35d5b6fe34373636d0c27c6881397 /src/Protocol/ProtocolRecognizer.cpp | |
parent | Composition generator creating moved to a separate function. (diff) | |
download | cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.tar cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.tar.gz cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.tar.bz2 cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.tar.lz cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.tar.xz cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.tar.zst cuberite-fe978f0d1e01e284b591e1d5a08ebb24161fd587.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index e2ea0e6e5..a21f4f042 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -476,6 +476,16 @@ void cProtocolRecognizer::SendPlayerSpawn(const cPlayer & a_Player) +void cProtocolRecognizer::SendPluginMessage(const AString & a_Channel, const AString & a_Message) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendPluginMessage(a_Channel, a_Message); +} + + + + + void cProtocolRecognizer::SendRemoveEntityEffect(const cEntity & a_Entity, int a_EffectID) { ASSERT(m_Protocol != NULL); |