Finished off the packet handler, preparing to implement mana.