diff --git a/Minecraft.Client/ClientConnection.cpp b/Minecraft.Client/ClientConnection.cpp index 1200161d..418e8872 100644 --- a/Minecraft.Client/ClientConnection.cpp +++ b/Minecraft.Client/ClientConnection.cpp @@ -4323,7 +4323,8 @@ void ClientConnection::handleSetPlayerTeamPacket(shared_ptr void ClientConnection::handleParticleEvent(shared_ptr packet) { - ePARTICLE_TYPE particleId = (ePARTICLE_TYPE)Integer::parseInt(packet->getName()); + wstring particleName = packet->getName(); + ePARTICLE_TYPE particleId = (ePARTICLE_TYPE)Integer::parseInt(particleName); for (int i = 0; i < packet->getCount(); i++) {