summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_NewInvalidState.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_NewInvalidState.h')
-rw-r--r--source/packets/cPacket_NewInvalidState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/packets/cPacket_NewInvalidState.h b/source/packets/cPacket_NewInvalidState.h
index 2c7565e63..6bfacd17c 100644
--- a/source/packets/cPacket_NewInvalidState.h
+++ b/source/packets/cPacket_NewInvalidState.h
@@ -17,7 +17,7 @@ public:
cPacket_NewInvalidState( const cPacket_NewInvalidState & a_Copy );
virtual cPacket* Clone() const { return new cPacket_NewInvalidState(*this); }
- virtual int Parse(const char * a_Data, int a_Size) override;
+ virtual int Parse(cByteBuffer & a_Buffer) override;
virtual void Serialize(AString & a_Data) const override;
char m_Reason; // 0 = Invalid Bed, 1 = Begin Raining, 2 End Raining, 3 = Change Gamemode