The packets already go through different check points before it gets to the main server, this way they can detect hacks.
If we sent a edited packet back to the server that for instance changed the amount of money we have, it would go through the check point, the server there would see that the packet does not match the main server and would delete it, so it wouldn't change our money and in fact they might ban the IP the packet came from.