1
0

Store and pass entity effect duration as an int not a short. (#4293)

Fixes #4292.
This commit is contained in:
Alexander Harkness
2018-08-26 15:52:39 +01:00
committed by GitHub
parent 2d3ad7f1ae
commit c4f43cd8ec
13 changed files with 13 additions and 37 deletions

View File

@@ -391,7 +391,7 @@ void cProtocol_1_8_0::SendEditSign(int a_BlockX, int a_BlockY, int a_BlockZ)
void cProtocol_1_8_0::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration)
void cProtocol_1_8_0::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, int a_Duration)
{
ASSERT(m_State == 3); // In game mode?
@@ -3701,6 +3701,3 @@ void cProtocol_1_8_0::WriteEntityProperties(cPacketizer & a_Pkt, const cEntity &
a_Pkt.WriteBEInt32(0); // NumProperties
}