make onClientPacketData client side only Fixes #2.