From c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sun, 26 Aug 2018 15:52:39 +0100 Subject: Store and pass entity effect duration as an int not a short. (#4293) Fixes #4292. --- src/Protocol/Protocol_1_9.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Protocol/Protocol_1_9.cpp') diff --git a/src/Protocol/Protocol_1_9.cpp b/src/Protocol/Protocol_1_9.cpp index 95406613c..4a83a4033 100644 --- a/src/Protocol/Protocol_1_9.cpp +++ b/src/Protocol/Protocol_1_9.cpp @@ -428,7 +428,7 @@ void cProtocol_1_9_0::SendEditSign(int a_BlockX, int a_BlockY, int a_BlockZ) -void cProtocol_1_9_0::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration) +void cProtocol_1_9_0::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, int a_Duration) { ASSERT(m_State == 3); // In game mode? -- cgit v1.2.3