diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-08-27 08:37:54 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-08-29 10:16:06 +0200 |
commit | c088f7ff0a336703fb19038eef36f736a4e388f7 (patch) | |
tree | f1d9104b186d02f5da8f31ed8ce124bfbff3f6b2 /src/Protocol/Protocol18x.h | |
parent | Fixed SendUnloadChunk bug (#3353) (diff) | |
download | cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.gz cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.bz2 cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.lz cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.xz cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.zst cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol18x.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h index 08a51f342..b8f9675ba 100644 --- a/src/Protocol/Protocol18x.h +++ b/src/Protocol/Protocol18x.h @@ -110,7 +110,7 @@ public: virtual void SendPluginMessage (const AString & a_Channel, const AString & a_Message) override; virtual void SendRemoveEntityEffect (const cEntity & a_Entity, int a_EffectID) override; virtual void SendResetTitle (void) override; - virtual void SendRespawn (eDimension a_Dimension, bool a_ShouldIgnoreDimensionChecks) override; + virtual void SendRespawn (eDimension a_Dimension) override; virtual void SendSoundEffect (const AString & a_SoundName, double a_X, double a_Y, double a_Z, float a_Volume, float a_Pitch) override; virtual void SendExperience (void) override; virtual void SendExperienceOrb (const cExpOrb & a_ExpOrb) override; @@ -177,11 +177,6 @@ protected: /** The logfile where the comm is logged, when g_ShouldLogComm is true */ cFile m_CommLogFile; - /** The dimension that was last sent to a player in a Respawn or Login packet. - Used to avoid Respawning into the same dimension, which confuses the client. */ - eDimension m_LastSentDimension; - - /** Adds the received (unencrypted) data to m_ReceivedData, parses complete packets */ void AddReceivedData(const char * a_Data, size_t a_Size); |