diff --git a/source/packets/cPacket_NamedEntitySpawn.cpp b/source/packets/cPacket_NamedEntitySpawn.cpp index 9a8fcfd1..19d12e4b 100644 --- a/source/packets/cPacket_NamedEntitySpawn.cpp +++ b/source/packets/cPacket_NamedEntitySpawn.cpp @@ -10,7 +10,7 @@ void cPacket_NamedEntitySpawn::Serialize(AString & a_Data) const { short CurrentItem = m_CurrentItem; - assert(CurrentItem > 0); + assert(CurrentItem >= 0); if (CurrentItem <= 0) { CurrentItem = 0;