Fixed compilation errors by updating PacketDispatcher.h